You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
750 B
20 lines
750 B
6 years ago
|
--- ../cache/valgrind-3.13.0/include/pub_tool_libcsetjmp.h 2017-05-31 15:14:14.000000000 +0000
|
||
|
+++ ./include/pub_tool_libcsetjmp.h 2018-08-17 23:14:23.768384982 +0000
|
||
|
@@ -120,6 +120,16 @@
|
||
|
__attribute__((noreturn))
|
||
|
void VG_MINIMAL_LONGJMP(VG_MINIMAL_JMP_BUF(_env));
|
||
|
|
||
|
+
|
||
|
+#elif defined(__ANDROID__) && defined(__aarch64__)
|
||
|
+
|
||
|
+/* Android clang/llvm has no __builtin_{setjmp,longjmp} for aarch64. */
|
||
|
+/* Use the same setjmp/longjmp functions for both gcc and clang. */
|
||
|
+#define VG_MINIMAL_JMP_BUF(_name) jmp_buf _name
|
||
|
+#define VG_MINIMAL_SETJMP(_env) ((UWord)(setjmp((_env))))
|
||
|
+#define VG_MINIMAL_LONGJMP(_env) longjmp((_env),1)
|
||
|
+
|
||
|
+
|
||
|
#elif defined(VGP_mips64_linux)
|
||
|
|
||
|
#define VG_MINIMAL_JMP_BUF(_name) ULong _name [168 / sizeof(ULong)]
|