diff options
| author | Julian Lettner <jlettner@apple.com> | 2019-07-10 18:37:57 +0000 |
|---|---|---|
| committer | Julian Lettner <jlettner@apple.com> | 2019-07-10 18:37:57 +0000 |
| commit | 1a2c8809248d10963e7bf547e0380816f1ff1ca1 (patch) | |
| tree | 8e9cc6a03dda5a693296faf4cba8b43c26373135 /compiler-rt/lib/tsan/rtl | |
| parent | d300a493df36775f1c85a6ed1dc10196865252b0 (diff) | |
| download | bcm5719-llvm-1a2c8809248d10963e7bf547e0380816f1ff1ca1.tar.gz bcm5719-llvm-1a2c8809248d10963e7bf547e0380816f1ff1ca1.zip | |
[TSan] Attempt to fix linker error on Linux/AArch64
llvm-svn: 365681
Diffstat (limited to 'compiler-rt/lib/tsan/rtl')
| -rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc b/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc index b470a46e033..8ab1872cd05 100644 --- a/compiler-rt/lib/tsan/rtl/tsan_platform_linux.cc +++ b/compiler-rt/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 |

