[compiler-rt] r244088 - [AArch64] Fixes broken bot fue to TSAN patch

Renato Golin renato.golin at linaro.org
Wed Aug 5 11:34:21 PDT 2015


Author: rengolin
Date: Wed Aug  5 13:34:20 2015
New Revision: 244088

URL: http://llvm.org/viewvc/llvm-project?rev=244088&view=rev
Log:
[AArch64] Fixes broken bot fue to TSAN patch

Patch by Adhemerval Zanella.

Modified:
    compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc

Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc?rev=244088&r1=244087&r2=244088&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc Wed Aug  5 13:34:20 2015
@@ -33,6 +33,10 @@
 #if SANITIZER_ANDROID && defined(__arm__)
 # include <linux/user.h>  // for pt_regs
 #else
+# ifdef __aarch64__
+// GLIBC 2.20+ sys/user does not include asm/ptrace.h
+#  include <asm/ptrace.h>
+# endif
 # include <sys/user.h>  // for user_regs_struct
 #endif
 #include <sys/wait.h> // for signal-related stuff




More information about the llvm-commits mailing list