llvm-project/compiler-rt/lib/tsan/tests/rtl
Adhemerval Zanella d7984710ae [tsan] Enable tsan for aarch64
This patch enabled TSAN for aarch64 with 39-bit VMA layout.  As defined by
tsan_platform.h the layout used is:

0000 4000 00 - 0200 0000 00: main binary
2000 0000 00 - 4000 0000 00: shadow memory
4000 0000 00 - 5000 0000 00: metainfo
5000 0000 00 - 6000 0000 00: -
6000 0000 00 - 6200 0000 00: traces
6200 0000 00 - 7d00 0000 00: -
7d00 0000 00 - 7e00 0000 00: heap
7e00 0000 00 - 7fff ffff ff: modules and main thread stack

Which gives it about 8GB for main binary, 4GB for heap and 8GB for
modules and main thread stack.

Most of tests are passing, with the exception of:

 * ignore_lib0, ignore_lib1, ignore_lib3 due a kernel limitation for
   no support to make mmap page non-executable.

 * longjmp tests due missing specialized assembly routines.

These tests are xfail for now.

The only tsan issue still showing is:

  rtl/TsanRtlTest/Posix.ThreadLocalAccesses

Which still required further investigation.  The test is disable for
aarch64 for now.

llvm-svn: 244055
2015-08-05 15:17:59 +00:00
..
CMakeLists.txt [TSan] Use Clang to compile and link TSan unit tests with TSan runtime 2013-09-11 09:56:33 +00:00
tsan_bench.cc
tsan_mop.cc
tsan_mutex.cc
tsan_posix.cc [tsan] Enable tsan for aarch64 2015-08-05 15:17:59 +00:00
tsan_string.cc tsan: remove TSAN_SHADOW_COUNT 2015-01-19 15:01:07 +00:00
tsan_test.cc [Sanitizer] Use different MemoryMappingLayout::DumpListOfModules on Linux and Mac. 2013-12-25 11:29:19 +00:00
tsan_test_util.h Fix typos 2014-05-15 02:22:34 +00:00
tsan_test_util_linux.cc Support building tsan_test_util_linux.cc on FreeBSD 2014-09-06 07:59:05 +00:00
tsan_thread.cc