From 8246aad0b040543e4457bbd702004b0d029417a8 Mon Sep 17 00:00:00 2001 From: Julian Lettner Date: Wed, 10 Jul 2019 18:37:57 +0000 Subject: [TSan] Attempt to fix linker error on Linux/AArch64 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@365681 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/tsan/rtl/tsan_platform_linux.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tsan/rtl/tsan_platform_linux.cc b/lib/tsan/rtl/tsan_platform_linux.cc index b470a46e0..8ab1872cd 100644 --- a/lib/tsan/rtl/tsan_platform_linux.cc +++ b/lib/tsan/rtl/tsan_platform_linux.cc @@ -417,7 +417,7 @@ uptr ExtractLongJmpSp(uptr *env) { #if SANITIZER_LINUX && defined(__aarch64__) #include "interception/interception.h" -DECLARE_REAL(int, setjmp, void* env); +DECLARE_REAL(int, _setjmp, void* env) // GLIBC mangles the function pointers in jmp_buf (used in {set,long}*jmp // functions) by XORing them with a random key. For AArch64 it is a global // variable rather than a TCB one (as for x86_64/powerpc). We obtain the key by -- cgit v1.2.3