Skip to content

Commit 8375030

Browse files
committed
[sanitizer] Fix builds after #77991
1 parent 92126ca commit 8375030

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,7 @@ macro(add_custom_libcxx name prefix)
688688
-DCMAKE_TRY_COMPILE_TARGET_TYPE=STATIC_LIBRARY
689689
-DLLVM_PATH=${LLVM_MAIN_SRC_DIR}
690690
-DLLVM_ENABLE_RUNTIMES=libcxx|libcxxabi
691+
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF
691692
-DLIBCXXABI_ENABLE_SHARED=OFF
692693
-DLIBCXXABI_HERMETIC_STATIC_LIBRARY=ON
693694
-DLIBCXXABI_INCLUDE_TESTS=OFF

compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ if [[ ! -f ${LLVM_BUILD}/build.ninja ]]; then
104104
-DCMAKE_CXX_FLAGS_RELEASE="${LIBCXX_FLAGS}" \
105105
-DLIBCXXABI_ENABLE_ASSERTIONS=OFF \
106106
-DLIBCXXABI_ENABLE_EXCEPTIONS=OFF \
107+
-DLIBCXXABI_USE_LLVM_UNWINDER=OFF \
107108
-DLIBCXX_ENABLE_ASSERTIONS=OFF \
108109
-DLIBCXX_ENABLE_EXCEPTIONS=OFF \
109110
-DLIBCXX_ENABLE_RTTI=OFF \

0 commit comments

Comments
 (0)