mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 19:05:51 +00:00
[TravisCI] Fix getting proper stack traces for ASan/LSan. The
`llvm-symbolizer` tool needs to be installed and ASan/LSan needs to be told where to find it.
This commit is contained in:
parent
71dcec3113
commit
4db5980a23
4 changed files with 7 additions and 3 deletions
|
@ -9,6 +9,7 @@ if [ "X${ASAN_BUILD}" = "X1" ]; then
|
|||
# Use suppression files
|
||||
export LSAN_OPTIONS="print_suppressions=1,suppressions=${Z3_SRC_DIR}/contrib/suppressions/sanitizers/lsan.txt"
|
||||
export ASAN_OPTIONS="print_suppressions=1,suppressions=${Z3_SRC_DIR}/contrib/suppressions/sanitizers/asan.txt"
|
||||
: ${ASAN_SYMBOLIZER_PATH?"ASAN_SYMBOLIZER_PATH must be specified"}
|
||||
fi
|
||||
|
||||
if [ "X${UBSAN_BUILD}" = "X1" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue