blob: d38921aa4836c16a867ffed5143ac39607544563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/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"
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 "$@"
|