diff options
Diffstat (limited to 'compiler-rt/lib/tsan/rtl')
-rw-r--r-- | compiler-rt/lib/tsan/rtl/CMakeLists.txt | 3 | ||||
-rw-r--r-- | compiler-rt/lib/tsan/rtl/tsan.syms | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/compiler-rt/lib/tsan/rtl/CMakeLists.txt b/compiler-rt/lib/tsan/rtl/CMakeLists.txt index f2a8533b845..8d89e6e7ba3 100644 --- a/compiler-rt/lib/tsan/rtl/CMakeLists.txt +++ b/compiler-rt/lib/tsan/rtl/CMakeLists.txt @@ -44,6 +44,7 @@ if(CAN_TARGET_x86_64 AND UNIX AND NOT APPLE) $<TARGET_OBJECTS:RTInterception.${arch}> $<TARGET_OBJECTS:RTSanitizerCommon.${arch}> CFLAGS ${TSAN_CFLAGS} - DEFS ${TSAN_COMMON_DEFINITIONS}) + DEFS ${TSAN_COMMON_DEFINITIONS} + SYMS tsan.syms) list(APPEND TSAN_RUNTIME_LIBRARIES clang_rt.tsan-${arch}) endif() diff --git a/compiler-rt/lib/tsan/rtl/tsan.syms b/compiler-rt/lib/tsan/rtl/tsan.syms new file mode 100644 index 00000000000..bedbe13169f --- /dev/null +++ b/compiler-rt/lib/tsan/rtl/tsan.syms @@ -0,0 +1 @@ +{ __tsan_*; }; |