Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sanitizer search paths. #1019

Merged
merged 1 commit into from
May 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sanitizers/app/src/main/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if(SANITIZE)
target_link_options(sanitizers PUBLIC -fsanitize=address)

# Grab libclang_rt.asan-${ARCH_STR}-android.so from the NDK.
file(GLOB ASAN_GLOB "${HINT_PATH}/../lib64/clang/*/lib/linux")
file(GLOB ASAN_GLOB "${HINT_PATH}/../lib/clang/*/lib/linux")
find_file(ASAN
NAMES libclang_rt.asan-${ARCH_STR}-android.so
PATHS ${ASAN_GLOB})
Expand All @@ -76,7 +76,7 @@ if(SANITIZE)
target_link_options(sanitizers PUBLIC -fsanitize=undefined -fno-sanitize-recover=undefined)

# Grab libclang_rt.ubsan_standalone-${ARCH_STR}-android.so from the NDK.
file(GLOB UBSAN_GLOB "${HINT_PATH}/../lib64/clang/*/lib/linux")
file(GLOB UBSAN_GLOB "${HINT_PATH}/../lib/clang/*/lib/linux")
find_file(UBSAN
NAMES libclang_rt.ubsan_standalone-${ARCH_STR}-android.so
PATHS ${UBSAN_GLOB})
Expand Down
Binary file not shown.
Loading