[PATCH] D11484: [compiler] [tsan] Enable tsan for aarch64

Renato Golin renato.golin at linaro.org
Sat Jul 25 07:13:20 PDT 2015


rengolin added inline comments.

================
Comment at: lib/sanitizer_common/sanitizer_linux_libcdep.cc:300
@@ -288,1 +299,3 @@
+# elif defined(__aarch64__)
+  descr_addr = reinterpret_cast<uptr>(__builtin_thread_pointer());
 # else
----------------
eugenis wrote:
> Clang does not recognize this builtin on aarch64. It looks like it only exists on arm. Are you building with gcc?
> 
shouldn't be too hard to implement that, now that we have direct access to reading and writing to specific special registers.


http://reviews.llvm.org/D11484







More information about the llvm-commits mailing list