projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add example ASAN_OPTIONS to script.
[dcpomatic.git]
/
run
/
dcpomatic
diff --git
a/run/dcpomatic
b/run/dcpomatic
index 38de6a670b58c874c42cf0d55e4ba83b49ebc7cb..730b89d5501dd3cd3b5ba181bc996a4f8135482e 100755
(executable)
--- a/
run/dcpomatic
+++ b/
run/dcpomatic
@@
-12,6
+12,8
@@
fi
export DYLD_LIBRARY_PATH=/Users/cah/osx-environment/$env/lib:/usr/local/lib
+# export ASAN_OPTIONS=verbosity=1:malloc_context_size=20:detect_leaks=1
+
if [ "$1" == "--debug" ]; then
shift
gdb --args $binary $*