[PATCH] D14233: [tsan] CMake support for TSan on OS X
Kuba Brecka via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 2 07:31:39 PST 2015
kubabrecka created this revision.
kubabrecka added reviewers: samsonov, kcc, glider, dvyukov.
kubabrecka added subscribers: llvm-commits, zaks.anna, jasonk, ismailp.
Hi, this patch adds a CMake flag called `COMPILER_RT_ENABLE_TSAN_OSX`, which is off by default. If enabled, the build system will be building the OS X version of the TSan runtime library (called `libclang_rt.tsan_osx_dynamic.dylib`). I'll submit patches that fix OS X build errors shortly.
This is part of an effort to port TSan to OS X, and it's one the very first steps. Don't expect TSan on OS X to actually work or pass tests at this point.
http://reviews.llvm.org/D14233
Files:
cmake/config-ix.cmake
lib/tsan/CMakeLists.txt
test/tsan/CMakeLists.txt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14233.38917.patch
Type: text/x-patch
Size: 5676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151102/60bf9f66/attachment.bin>
More information about the llvm-commits
mailing list