mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
We need ThreadSanitizer.cpp in libswiftCore for the runtime case, but we also need it in libswiftThreading for non-runtime cases. rdar://1106655213
15 lines
505 B
CMake
15 lines
505 B
CMake
# If you update this, you also need to update the CMakeLists.txt file in
|
|
# stdlib/public/Threading AND the one in stdlib/toolchain/CompatibilityThreading
|
|
|
|
# Note that it is *not* an error that Errors.cpp is only listed here.
|
|
# It shouldn't be in the other places because those are OBJECT_LIBRARYs
|
|
# and things that use them should be defining their own fatal error handler.
|
|
|
|
add_swift_host_library(swiftThreading STATIC
|
|
C11.cpp
|
|
Linux.cpp
|
|
Pthreads.cpp
|
|
Win32.cpp
|
|
Errors.cpp
|
|
ThreadSanitizer.cpp)
|