diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-05-13 22:30:16 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-05-13 22:30:16 +0000 |
commit | 7986f6e4ae9c6b300be49f5684c686d3e48fd94d (patch) | |
tree | 2f5f62a8a685b7f2c84bbe1b63642d6308cca55b /test/lit.common.configured.in | |
parent | 543c9f0229433ec397f882048d02448f06a7e005 (diff) |
[TSan] Build TSan-instrumented version of libcxx and use it in lit tests.
TSan can produce false positives in code that uses C++11 threading,
as it doesn't see synchronization inside standard library. See
http://lists.cs.uiuc.edu/pipermail/cfe-dev/2014-February/035408.html
for an example of such case.
We may build custom TSan-instrumented version libcxx to fight with that.
This change adds build rules for libcxx_tsan and integrates it into
testing infrastructure.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@208737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r-- | test/lit.common.configured.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in index f23086a9f..472073b31 100644 --- a/test/lit.common.configured.in +++ b/test/lit.common.configured.in @@ -16,6 +16,7 @@ set_default("llvm_build_mode", "@LLVM_BUILD_MODE@") set_default("llvm_src_root", "@LLVM_SOURCE_DIR@") set_default("llvm_obj_root", "@LLVM_BINARY_DIR@") set_default("compiler_rt_src_root", "@COMPILER_RT_SOURCE_DIR@") +set_default("compiler_rt_obj_root", "@COMPILER_RT_BINARY_DIR@") set_default("llvm_tools_dir", "@LLVM_TOOLS_DIR@") set_default("clang", "@COMPILER_RT_TEST_COMPILER@") set_default("compiler_id", "@COMPILER_RT_TEST_COMPILER_ID@") |