Skip to content

Commit 717a4d8

Browse files
committed
Merge bitcoin/bitcoin#28476: ci: LLVM 17 for MSAN jobs
a241d60 ci: use LLVM 17.0.0 in MSAN jobs (fanquake) Pull request description: See https://libcxx.llvm.org/Hardening.html as well as https://discourse.llvm.org/t/rfc-removing-the-legacy-debug-mode-from-libc/71026. ACKs for top commit: MarcoFalke: review ACK a241d60 Tree-SHA512: c374dabf307fe762be0da96f63695a150f6018c1468fe9414fad23f74f5818bbf7a5a699e109084e31467482a900cfebf1d5835821e4da94aa310b2c9570749c
2 parents f608a40 + a241d60 commit 717a4d8

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ci/test/01_base_install.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ if [ -n "$PIP_PACKAGES" ]; then
4242
fi
4343

4444
if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
45-
git clone --depth=1 https://github.com/llvm/llvm-project -b llvmorg-16.0.6 /msan/llvm-project
45+
git clone --depth=1 https://github.com/llvm/llvm-project -b "llvmorg-17.0.0-rc4" /msan/llvm-project
4646

4747
cmake -G Ninja -B /msan/clang_build/ \
4848
-DLLVM_ENABLE_PROJECTS="clang" \
@@ -66,8 +66,7 @@ if [[ ${USE_MEMORY_SANITIZER} == "true" ]]; then
6666
-DCMAKE_CXX_COMPILER=clang++ \
6767
-DLLVM_TARGETS_TO_BUILD=Native \
6868
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=OFF \
69-
-DLIBCXX_ENABLE_DEBUG_MODE=ON \
70-
-DLIBCXX_ENABLE_ASSERTIONS=ON \
69+
-DLIBCXX_HARDENING_MODE=debug \
7170
-S /msan/llvm-project/runtimes
7271

7372
ninja -C /msan/cxx_build/ "$MAKEJOBS"

0 commit comments

Comments
 (0)