diff options
author | Matt Turner <mattst88@gmail.com> | 2025-04-25 21:06:36 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2025-04-26 12:57:51 -0400 |
commit | f7a10cd336f44ad6b5de30590aea22648c2cec7a (patch) | |
tree | 361bb01dfe11a0482487193f73f1af06a7771cf9 | |
parent | 73d25c97d097ff57e6a900cad888fbab94657b93 (diff) |
-rwxr-xr-x | mesa-debug-asan | 2 | ||||
-rwxr-xr-x | mesa-run | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/mesa-debug-asan b/mesa-debug-asan index d38921a..cfd7928 100755 --- a/mesa-debug-asan +++ b/mesa-debug-asan @@ -4,7 +4,7 @@ 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" export GCC_ASAN_PRELOAD=$(gcc -print-file-name=libasan.so) export CLANG_ASAN_PRELOAD=$(clang -print-file-name=libclang_rt.asan-x86_64.so) @@ -8,6 +8,8 @@ die() { [[ -z ${builddir} ]] && die "builddir must be set" prefix="${builddir}"/install +IFS=: read -r -a extra_args <<< "${extra_args}" + machine=$(uname -m) case "$machine" in x86_64) |