[PATCH] D12395: [compiler-rt] [TSan] Enable TSan for AArch64/42-bit VMA

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 26 18:16:14 PDT 2015


zatrazz created this revision.
zatrazz added reviewers: kcc, eugenis, pcc, dvyukov, rengolin.
zatrazz added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

This patch adds support for tsan on aarch64-linux with 42-bit VMA
(current default config for 64K pagesize kernels).  The support is
enabled by defining the SANITIZER_AARCH64_VMA to 42 at build time
for both clang/llvm and compiler-rt.  The default VMA is 39 bits.

The ignore_lib{0,1,3}.cc is now disable for aarch64 (although for newer
kernels they do pass) until the all the buildbots have the fix.  


http://reviews.llvm.org/D12395

Files:
  cmake/config-ix.cmake
  lib/sanitizer_common/sanitizer_allocator.h
  lib/sanitizer_common/sanitizer_platform.h
  lib/tsan/rtl/tsan_platform.h
  lib/tsan/rtl/tsan_rtl.h
  test/tsan/ignore_lib0.cc
  test/tsan/ignore_lib1.cc
  test/tsan/ignore_lib3.cc
  test/tsan/lit.cfg
  test/tsan/test.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12395.33293.patch
Type: text/x-patch
Size: 6324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150827/ede2110d/attachment.bin>


More information about the llvm-commits mailing list