summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-07-10 18:37:57 +0000
committerJulian Lettner <jlettner@apple.com>2019-07-10 18:37:57 +0000
commit8246aad0b040543e4457bbd702004b0d029417a8 (patch)
tree8349efb999a43990e8c6e7c369e4057c4d6dd01b
parentd3ad680274e7cab54159fe89e427ec70c9ef0764 (diff)
downloadcompiler-rt-8246aad0b040543e4457bbd702004b0d029417a8.tar.gz
[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
-rw-r--r--lib/tsan/rtl/tsan_platform_linux.cc2
1 files changed, 1 insertions, 1 deletions
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