This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: ASAN crash regression [Re: [PATCH 2/2] move the demangled_names_hash into the per-BFD]
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: Pedro Alves <palves at redhat dot com>, gdb-patches at sourceware dot org
- Date: Thu, 26 Jun 2014 08:36:11 -0600
- Subject: Re: ASAN crash regression [Re: [PATCH 2/2] move the demangled_names_hash into the per-BFD]
- Authentication-results: sourceware.org; auth=none
- References: <1376512619-3211-1-git-send-email-tromey at redhat dot com> <1376512619-3211-3-git-send-email-tromey at redhat dot com> <521CEA9F dot 9070003 at redhat dot com> <87li24khkn dot fsf at fleche dot redhat dot com> <20140615074238 dot GA27553 at host2 dot jankratochvil dot net> <87r42pkloa dot fsf at fleche dot redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Jan> ./configure ... -fsanitize=address
Jan> echo 'void f(){}main(){}'|gcc -x c++ -
Jan> -g;ASAN_OPTIONS=symbolize=1
Jan> ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer ./gdb -batch a.out
Jan> -ex 'file a.out'
Tom> Readily seen with valgrind as well.
Tom> Here's my proposed fix.
I'm checking this in on the trunk and the 7.8 branch.
It turns out that this was PR 16902, so I've updated the ChangeLog.
Tom