Add example ASAN_OPTIONS to script.
authorCarl Hetherington <cth@carlh.net>
Sun, 4 Feb 2024 11:23:44 +0000 (12:23 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 4 Feb 2024 11:23:44 +0000 (12:23 +0100)
run/dcpomatic

index 38de6a670b58c874c42cf0d55e4ba83b49ebc7cb..730b89d5501dd3cd3b5ba181bc996a4f8135482e 100755 (executable)
@@ -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 $*