Re: GDB 7.7 crashes on LTO-built executable

Eli Zaretskii
2014-02-12T20:08:25Z

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