[PATCH] D11484: [compiler] [tsan] Enable tsan for aarch64
Renato Golin
renato.golin at linaro.org
Thu Jul 30 12:38:11 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
----------------
rengolin wrote:
> 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.
This is now supported in Clang and LLVM.
http://reviews.llvm.org/D11484
More information about the llvm-commits
mailing list