https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106718

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jakub at gcc dot gnu.org

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't see anything wrong.
DW_AT_ranges in DW_TAG_skeleton_unit in .debug_info section uses
DW_FORM_sec_offset and refers to .debug_rnglists section which has
        .long   0       # Offset Entry Count
Then DW_AT_ranges in DW_TAG_inlined_subroutine (twice) and in
DW_TAG_lexical_block all in .debug_info.dwo section use DW_FORM_rnglistx, but
those don't refer to .debug_rnglists section, but to .debug_rnglists.dwo
section, which has:
        .long   0x2     # Offset Entry Count
.Ldebug_ranges1:
        .long   .LLRL5-.Ldebug_ranges1
        .long   .LLRL9-.Ldebug_ranges1
Just look at DWARF5 Appendix B. Debug Section Relationships (Informative)
graph,
it is the (io) link in there.

Reply via email to