mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 00:55:31 +00:00
Second pass at getting MSAN working with azure pipelines
This commit is contained in:
parent
9cccfb97ac
commit
ed29e1ffa5
2 changed files with 19 additions and 3 deletions
15
scripts/build_libcxx_msan.sh
Normal file
15
scripts/build_libcxx_msan.sh
Normal file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
cd ..
|
||||
mkdir libcxx
|
||||
cd libcxx
|
||||
# Checkout LLVM, libc++ and libc++abi
|
||||
svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm
|
||||
(cd llvm/projects && svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx)
|
||||
(cd llvm/projects && svn co http://llvm.org/svn/llvm-project/libcxxabi/trunk libcxxabi)
|
||||
|
||||
# Build libc++ with MSan:
|
||||
mkdir libcxx_msan && cd libcxx_msan
|
||||
cmake ../llvm -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Memory -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++
|
||||
make cxx -j4
|
||||
cd ../build
|
Loading…
Add table
Add a link
Reference in a new issue