[Bug debug/88878] New: .debug_pubnames/types empty with -flto
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jan 16 14:32:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88878
Bug ID: 88878
Summary: .debug_pubnames/types empty with -flto
Product: gcc
Version: 9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: rguenth at gcc dot gnu.org
Target Milestone: ---
Currently building with -g -gpubnames -flto will get you an empty
.debug_pubnames
section because dwarf2out_early_finish doesn't emit those into the early debug
part (LTO section setup for pubnames is also missing).
Since -gpubtypes is off by default on linux nobody noticed sofar.
More information about the Gcc-bugs
mailing list