Skip to content

Commit b90130d

Browse files
authored
Pass libdispatch related flag to the shared library build of TSan (#5525)
Addresses (quickly) rdar://101777852
1 parent 420e2b0 commit b90130d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/tsan/rtl/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ if(COMPILER_RT_INTERCEPT_LIBDISPATCH)
7676
tsan_interceptors_libdispatch.cpp
7777
)
7878
list(APPEND TSAN_RTL_CFLAGS ${COMPILER_RT_LIBDISPATCH_CFLAGS})
79+
list(APPEND TSAN_RTL_DYNAMIC_CFLAGS ${COMPILER_RT_LIBDISPATCH_CFLAGS})
7980
endif()
8081

8182
set(TSAN_HEADERS

0 commit comments

Comments
 (0)