mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
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:
@@ -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[@]}"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user