From 7986f6e4ae9c6b300be49f5684c686d3e48fd94d Mon Sep 17 00:00:00 2001 From: Alexey Samsonov Date: Tue, 13 May 2014 22:30:16 +0000 Subject: [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 --- test/lit.common.configured.in | 1 + 1 file changed, 1 insertion(+) (limited to 'test/lit.common.configured.in') 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@") -- cgit v1.2.3