This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: GDB 7.7 crashes on LTO-built executable
- From: Eli Zaretskii <eliz at gnu dot org>
- To: tromey at redhat dot com
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 12 Feb 2014 22:08:12 +0200
- Subject: Re: GDB 7.7 crashes on LTO-built executable
- Authentication-results: sourceware.org; auth=none
- References: <83lhxgs05d dot fsf at gnu dot org> <83ioskrznz dot fsf at gnu dot org> <87ob2ct9ua dot fsf at fleche dot redhat dot com> <83ha84ruai dot fsf at gnu dot org>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
Some more info, obtained by setting various debug options: With a
non-LTO build of the same program, GDB displays this after it finishes
reading the symbols and expanding the symtabs:
Created primary symtab 0x2125880 for tchmod.c
...
qf->lookup_symbol (...) = tchmod.c
(tchmod.c is the source file of this program.)
But when I do the same with the LTO-compiled executable, the last
message is:
Created primary symtab 0x21172d0 for C:\Users\eliz\AppData\Local\Temp\ccN8FPgQ.ltrans0.o.
...
qf->lookup_symbol (...) = C:\Users\eliz\AppData\Local\Temp\ccN8FPgQ.ltrans0.o