diff options
author | Jakub Jelinek <jakub@redhat.com> | 2013-01-30 19:05:53 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2013-01-30 19:05:53 +0100 |
commit | e60e09a0e0e8c1b17fc35cf25b739666a96010b9 (patch) | |
tree | fd21e26033e46b7fa15c4b038ed1fde6e14e347f /libgo/runtime/go-callers.c | |
parent | 3288746035c8699973d9242284606f1aad2465d2 (diff) | |
download | gcc-e60e09a0e0e8c1b17fc35cf25b739666a96010b9.zip gcc-e60e09a0e0e8c1b17fc35cf25b739666a96010b9.tar.gz gcc-e60e09a0e0e8c1b17fc35cf25b739666a96010b9.tar.bz2 |
re PR sanitizer/55374 ([asan] -static-libasan -static-libstdc++ doesn't work)
PR sanitizer/55374
* gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
LIBASAN_EARLY_SPEC is defined.
(LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
(LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
before %o.
* config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
* g++.dg/asan/large-func-test-1.C: Allow both _Zna[jm] in addition
to _Znw[jm] in the backtrace. Allow _Zna[jm] to be the first frame
printed in backtrace.
* g++.dg/asan/deep-stack-uaf-1.C: Use malloc instead of operator new
to avoid errors about mismatched allocation vs. deallocation.
From-SVN: r195585
Diffstat (limited to 'libgo/runtime/go-callers.c')
0 files changed, 0 insertions, 0 deletions