Skip to content

Commit 74496b0

Browse files
committed
[asan][hwasan] Link RTUbsan_cxx into shared runtime
There is no shared version RTUbsan_cxx. Fix android after #121006.
1 parent 319b891 commit 74496b0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler-rt/lib/asan/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ else()
318318
# add_dependencies(clang_rt.asan-dynamic-${arch} clang_rt.asan-dynamic-${arch}-version-list)
319319
# generates an order-only dependency in ninja.
320320
RTAsan_dynamic_version_script_dummy
321+
RTUbsan_cxx
321322
${ASAN_DYNAMIC_WEAK_INTERCEPTION}
322323
CFLAGS ${ASAN_DYNAMIC_CFLAGS}
323324
LINK_FLAGS ${ASAN_DYNAMIC_LINK_FLAGS}

compiler-rt/lib/hwasan/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ function(add_hwasan_runtimes arch use_aliases)
219219
RTSanitizerCommonSymbolizerInternal
220220
RTLSanCommon
221221
RTUbsan
222+
RTUbsan_cxx
222223
# The only purpose of RTHWAsan_dynamic_version_script_dummy is to
223224
# carry a dependency of the shared runtime on the version script.
224225
# Replacing it with a straightforward

0 commit comments

Comments
 (0)