diff options
author | Tom de Vries <tdevries@suse.de> | 2022-07-18 06:20:38 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-07-18 06:20:38 +0200 |
commit | c3d3b64b34bff289f178e2267e6363f71b0c4234 (patch) | |
tree | 1b62b8f615fe48c4bcbed7c2b490f8ec389968d5 /ltgcc.m4 | |
parent | 9d9dd861e9815829124a4413f0446e3bcc119dca (diff) | |
download | gdb-c3d3b64b34bff289f178e2267e6363f71b0c4234.zip gdb-c3d3b64b34bff289f178e2267e6363f71b0c4234.tar.gz gdb-c3d3b64b34bff289f178e2267e6363f71b0c4234.tar.bz2 |
[gdb/testsuite] Allow override of ASAN_OPTIONS in lib/gdb.exp
Use set_sanitizer_default for ASAN_OPTIONS in lib/gdb.exp.
This allows us to override the default detect_leaks=0 setting, by manually
doing:
...
$ export ASAN_OPTIONS=detect_leaks=1
$ make check
...
Tested on x86_64-linux, by building with -fsanitize=address and running
test-case gdb.dwarf2/gdb-add-index.exp with and without
"export ASAN_OPTIONS=detect_leaks=1".
Diffstat (limited to 'ltgcc.m4')
0 files changed, 0 insertions, 0 deletions