[PATCH] D12841: [LLVMdev] Compiler-RT - Enabling ThreadSanitizer on PPC64(BE/LE) platforms

Simone via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 27 23:51:06 PST 2015


simoatze updated this revision to Diff 41323.
simoatze added a comment.

Updated patch for supporting multiple VMA (44 and 46 bits). To support these multiple VMAS transformations I followed the same mechanism used for AARCH64. By default the system will build for VMA=46, in order to build for VMA=44 will be still necessary to define the macro SANITIZER_PPC64_VMA at build time, for example for CMake:

-D CMAKE_C_FLAGS='-D SANITIZER_PPC64_VMA=44' -D CMAKE_CXX_FLAGS='-D SANITIZER_PPC64_VMA=44'

Applying also the patch @http://reviews.llvm.org/D13729, it is failing only a few tests, here a summary:

Failing tests with VMA=44:
cond_cancel.c
java_race_pc.cc
signal_longjmp.cc
signal_errno.cc

Failing tests with VMA=46:
java_race_pc.cc
race_on_mutex.c (this is not failing for VMA=44)

I am already working on these last few problems.

Simone


http://reviews.llvm.org/D12841

Files:
  cmake/config-ix.cmake
  lib/sanitizer_common/sanitizer_linux.cc
  lib/sanitizer_common/sanitizer_linux.h
  lib/sanitizer_common/sanitizer_platform.h
  lib/sanitizer_common/sanitizer_posix.cc
  lib/sanitizer_common/sanitizer_stoptheworld_linux_libcdep.cc
  lib/tsan/rtl/tsan_interceptors.cc
  lib/tsan/rtl/tsan_platform.h
  lib/tsan/rtl/tsan_platform_linux.cc
  lib/tsan/rtl/tsan_platform_posix.cc
  lib/tsan/rtl/tsan_rtl.h
  test/tsan/CMakeLists.txt
  test/tsan/map32bit.cc
  test/tsan/mmap_large.cc
  test/tsan/test.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12841.41323.patch
Type: text/x-patch
Size: 18866 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151128/fca7f0d6/attachment.bin>


More information about the llvm-commits mailing list