forked from OSchip/llvm-project
Revert "[TSan] Attempt to fix linker error for Linux on AArch64"
This reverts commit be4148062b
.
llvm-svn: 365367
This commit is contained in:
parent
7d8f30e6b2
commit
fa0d1d8e45
|
@ -69,7 +69,7 @@ void *__libc_stack_end = 0;
|
|||
|
||||
#if SANITIZER_LINUX && defined(__aarch64__)
|
||||
void InitializeGuardPtr() __attribute__((visibility("hidden")));
|
||||
extern "C" __tsan::uptr _tsan_pointer_chk_guard = 0;
|
||||
extern "C" __tsan::uptr _tsan_pointer_chk_guard;
|
||||
#endif
|
||||
|
||||
namespace __tsan {
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
|
||||
#include "sanitizer_common/sanitizer_asm.h"
|
||||
|
||||
#if !defined(__APPLE__)
|
||||
.section .bss
|
||||
.type __tsan_pointer_chk_guard, %object
|
||||
ASM_SIZE(ASM_SYMBOL_INTERCEPTOR(__tsan_pointer_chk_guard))
|
||||
__tsan_pointer_chk_guard:
|
||||
.zero 8
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
.align 2
|
||||
|
||||
|
|
Loading…
Reference in New Issue