diff options
-rwxr-xr-x | mesa-debug-asan | 9 | ||||
-rwxr-xr-x | mesa-run | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mesa-debug-asan b/mesa-debug-asan new file mode 100755 index 0000000..151140a --- /dev/null +++ b/mesa-debug-asan @@ -0,0 +1,9 @@ +#!/bin/bash + +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 + +exec mesa-run $@ @@ -16,8 +16,8 @@ configure) -Dgallium-drivers=iris -Dgallium-va=auto -Dbuildtype="${buildtype}" - # -Db_sanitize=address,undefined -Dbackend=ninja + "${extra_args}" "${builddir}" ) exec meson "${args[@]}" |