[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

jan.kratochvil at redhat dot com gcc-bugzilla@gcc.gnu.org
Wed Mar 10 22:17:21 GMT 2021


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

--- Comment #12 from Jan Kratochvil <jan.kratochvil at redhat dot com> ---
That looks as a DWARF5 bug to me. DW_AT_str_offsets_base, DW_AT_addr_base and
DW_AT_rnglists_base do not make any sense for a split unit. Split unit contains
only one CompileUnit (and optionally one TypeUnit where only
DW_AT_str_offsets_base would have some sense).


More information about the Gcc-bugs mailing list