forked from OSchip/llvm-project
[TSan] Add tsan to cmake build of compiler-rt only on Linux
llvm-svn: 164217
This commit is contained in:
parent
47196e6cd5
commit
1fba97d22d
|
@ -3,7 +3,10 @@
|
|||
add_subdirectory(asan)
|
||||
add_subdirectory(interception)
|
||||
add_subdirectory(sanitizer_common)
|
||||
if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
# ThreadSanitizer is supported on Linux only.
|
||||
add_subdirectory(tsan)
|
||||
endif()
|
||||
|
||||
# FIXME: Add support for the profile library.
|
||||
|
||||
|
|
Loading…
Reference in New Issue