summaryrefslogtreecommitdiff
path: root/mesa-debug-asan
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2022-02-14 11:57:31 -0800
committerMatt Turner <mattst88@gmail.com>2022-02-14 12:52:38 -0800
commit6c02393b1c7ada0788dec6709b81f9c2cbe0adf3 (patch)
tree3fa397772f8afd7bb75a4295f4de80f823bdf4ab /mesa-debug-asan
parent76d0409e332937103f80ee0b8f89e7d47857a413 (diff)
Add mesa-debug-asan configuration
Diffstat (limited to 'mesa-debug-asan')
-rwxr-xr-xmesa-debug-asan9
1 files changed, 9 insertions, 0 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 $@