Make it convenient to use ASAN
This commit is contained in:
parent
6ac0aae35f
commit
b3f9b38088
@ -48,5 +48,14 @@ export LD_LIBRARY_PATH=$libs/ptformat:$libs/qm-dsp:$libs/vamp-sdk:$libs/surfaces
|
||||
# DYLD_LIBRARY_PATH is for darwin.
|
||||
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
|
||||
|
||||
# allow Ardour to run when configured with --address-sanitizer
|
||||
# - halt_on_error=0 - why would we?
|
||||
# Note, static zita-resampler is used by libardour and libalsa_audiobackend
|
||||
# causing a [false positive] odr-violation at start.
|
||||
# - new_delete_type_mismatch=0 - because caps plugins do that
|
||||
# - leak_check_at_exit=0 - without ARDOUR_RUNNING_UNDER_VALGRIND=TRUE there are many false-positives
|
||||
# besides, instant.xml leaks somewhat intentionally
|
||||
export ASAN_OPTIONS=halt_on_error=0:leak_check_at_exit=0:new_delete_type_mismatch=0${ASAN_OPTIONS:+:$ASAN_OPTIONS}
|
||||
|
||||
ARDOURVERSION=@VERSION@
|
||||
EXECUTABLE=@EXECUTABLE@
|
||||
|
Loading…
Reference in New Issue
Block a user