[compiler-rt] r365681 - [TSan] Attempt to fix linker error on Linux/AArch64

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 10 11:37:57 PDT 2019


Author: yln
Date: Wed Jul 10 11:37:57 2019
New Revision: 365681

URL: http://llvm.org/viewvc/llvm-project?rev=365681&view=rev
Log:
[TSan] Attempt to fix linker error on Linux/AArch64

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc?rev=365681&r1=365680&r2=365681&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_platform_linux.cc Wed Jul 10 11:37:57 2019
@@ -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




More information about the llvm-commits mailing list