diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-02-04 12:23:44 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-02-04 12:23:44 +0100 |
| commit | 3e276a20ddcf633fcde338a7ae648162bd3f2443 (patch) | |
| tree | b598b28308f6c2485d7b09eb512e3db83b5d95ba /run | |
| parent | 6bb921077db94622368a4fda26a3dbf4c837e356 (diff) | |
Add example ASAN_OPTIONS to script.
Diffstat (limited to 'run')
| -rwxr-xr-x | run/dcpomatic | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/run/dcpomatic b/run/dcpomatic index 38de6a670..730b89d55 100755 --- 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 $* |
