[Bug debug/91968] DW_AT_low_pc missing for DW_TAG_label with LTO
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Oct 4 07:03:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91968
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |lto
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2019-10-04
Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
That's the early debug. The late debug is
<1><f4>: Abbrev Number: 2 (DW_TAG_imported_unit)
<f5> DW_AT_import : <0x135> [Abbrev Number: 1]
<1><f9>: Abbrev Number: 3 (DW_TAG_subprogram)
<fa> DW_AT_abstract_origin: <0x444>
<fe> DW_AT_low_pc : 0x4004e2
<106> DW_AT_high_pc : 0x41
<10e> DW_AT_frame_base : 1 byte block: 9c (DW_OP_call_frame_cfa)
<110> DW_AT_GNU_all_tail_call_sites: 1
<2><110>: Abbrev Number: 4 (DW_TAG_formal_parameter)
<111> DW_AT_abstract_origin: <0x454>
<115> DW_AT_location : 2 byte block: 91 5c (DW_OP_fbreg: -36)
<2><118>: Abbrev Number: 4 (DW_TAG_formal_parameter)
<119> DW_AT_abstract_origin: <0x460>
<11d> DW_AT_location : 2 byte block: 91 50 (DW_OP_fbreg: -48)
<2><120>: Abbrev Number: 5 (DW_TAG_variable)
<121> DW_AT_abstract_origin: <0x46c>
<125> DW_AT_location : 2 byte block: 91 6c (DW_OP_fbreg: -20)
<2><128>: Abbrev Number: 0
<1><129>: Abbrev Number: 0
which indeed misses locations for the labels. I suppose late debug generation
somehow doesn't work for them. I will have a look.
More information about the Gcc-bugs
mailing list