diff options
Diffstat (limited to 'mesa-debug-asan')
-rwxr-xr-x | mesa-debug-asan | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mesa-debug-asan b/mesa-debug-asan index 151140a..cfd7928 100755 --- a/mesa-debug-asan +++ b/mesa-debug-asan @@ -4,6 +4,9 @@ export cflags="-ggdb3 -O0 -march=native -pipe" export cxxflags="${cflags}" export buildtype=debug export builddir=~/projects/mesa/build-debug-asan -export extra_args=-Db_sanitize=address,undefined +export extra_args="-Db_sanitize=address,undefined:-Db_lundef=false" -exec mesa-run $@ +export GCC_ASAN_PRELOAD=$(gcc -print-file-name=libasan.so) +export CLANG_ASAN_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) + +exec mesa-run "$@" |