Build compile-rt with libdispatch interception to support TSan on Linux

I recently enabled TSan interceptors for libdispatch on non-Apple
platforms in upstream. This is on by default on Apple platforms. Let's
try to switch it on for other platforms too.
This commit is contained in:
Julian Lettner
2019-03-20 17:39:35 -07:00
parent 744b15783d
commit 552ab0c467

View File

@@ -2169,6 +2169,7 @@ for host in "${ALL_HOSTS[@]}"; do
-DLLVM_TOOL_SWIFT_BUILD:BOOL=NO
-DLLVM_INCLUDE_DOCS:BOOL=TRUE
-DLLVM_ENABLE_LTO:STRING="${LLVM_ENABLE_LTO}"
-DCOMPILER_RT_INTERCEPT_LIBDISPATCH=ON
"${llvm_cmake_options[@]}"
)