[compiler-rt] 1334dee - [symbolizer] Use custom std namespace
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 16 22:42:14 PDT 2023
Author: Vitaly Buka
Date: 2023-08-16T22:42:07-07:00
New Revision: 1334dee70019e5bf58c2fc30357664a38eaf0c2b
URL: https://github.com/llvm/llvm-project/commit/1334dee70019e5bf58c2fc30357664a38eaf0c2b
DIFF: https://github.com/llvm/llvm-project/commit/1334dee70019e5bf58c2fc30357664a38eaf0c2b.diff
LOG: [symbolizer] Use custom std namespace
Added:
Modified:
compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
index ade4d65a590994..71758f0a85a26b 100755
--- a/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
+++ b/compiler-rt/lib/sanitizer_common/symbolizer/scripts/build_symbolizer.sh
@@ -91,6 +91,8 @@ if [[ ! -f ${LLVM_BUILD}/build.ninja ]]; then
-DCMAKE_CXX_COMPILER_WORKS=ON \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
+ -DLIBCXX_ABI_NAMESPACE=__InternalSymbolizer \
+ '-DLIBCXX_EXTRA_SITE_DEFINES=_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS;_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS' \
-DCMAKE_C_FLAGS_RELEASE="${LIBCXX_FLAGS}" \
-DCMAKE_CXX_FLAGS_RELEASE="${LIBCXX_FLAGS}" \
-DLIBCXXABI_ENABLE_ASSERTIONS=OFF \
More information about the llvm-commits
mailing list