diff options
author | Tom de Vries <tdevries@suse.de> | 2022-07-12 13:58:31 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-07-12 13:58:31 +0200 |
commit | 75948417af8f86d1b9b0e3b51f904e1345927885 (patch) | |
tree | 9a798ff48f9cab0b5356ff4fe27eba590c43a454 /include/plugin-api.h | |
parent | 09559238fdcca6ffa2ddfdd6a89ac919a9ccb80d (diff) | |
download | binutils-75948417af8f86d1b9b0e3b51f904e1345927885.zip binutils-75948417af8f86d1b9b0e3b51f904e1345927885.tar.gz binutils-75948417af8f86d1b9b0e3b51f904e1345927885.tar.bz2 |
[gdb/testsuite] Run two test-cases with ASAN_OPTIONS=verify_asan_link_order=0
When building gdb with -fsanitize=address we run into:
...
builtin_spawn gdb -nw -nx -iex set height 0 -iex set width 0 -data-directory \
build/gdb/data-directory^M
==10637==ASan runtime does not come first in initial library list; you \
should either link runtime to your application or manually preload it with \
LD_PRELOAD.^M
ERROR: GDB process no longer exists
...
Prevent the ASan runtime error by using
ASAN_OPTIONS=verify_asan_link_order=0. This makes both test-cases pass.
Tested on x86_64-linux.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=29358
Diffstat (limited to 'include/plugin-api.h')
0 files changed, 0 insertions, 0 deletions