Skip to content

Commit 48b073b

Browse files
Raul Salinas-MonteagudoRaul Salinas-Monteagudo
authored andcommitted
Building: Use clang6 santizers, and be more flexible about versioning
1 parent fcc461a commit 48b073b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test-with-asan.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
set -e
33

44
if [ -z "$ASAN_LIB_SO" ]; then
5-
export ASAN_LIB_SO=/usr/lib/clang/5.0.1/lib/linux/libclang_rt.asan-x86_64.so
5+
export ASAN_LIB_SO="$(find /usr/lib/llvm-6.0/ -name libclang_rt.asan-x86_64.so | head -1)"
66
fi
77

88
if [ -z "$ASAN_SYMBOLIZER_PATH" ]; then
9-
export ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-5.0/bin/llvm-symbolizer
9+
export ASAN_SYMBOLIZER_PATH="$(find /usr/lib/llvm-6.0 -name llvm-symbolizer | head -1 )"
1010
fi
1111

1212
if [ -z "$ASAN_OPTIONS" ]; then

0 commit comments

Comments
 (0)