https://sourceware.org/bugzilla/show_bug.cgi?id=27367
--- Comment #6 from Mark Wielaard <mark at klomp dot org> --- The problem with fixing this in general is that an ELF file can contain different sets of .debug sections that form a consistent DWARF. This can be the .debug_* sections, the .debug_* sections in a particular comdat group (you can get those using the inscngrp bool), the set of .debug_*_dwo sections (for split dwarf). A generic solution would introduce some selector method to create a Dwarf for just one specific group of sections. I don't yet know how that would look like. And it would require callers to be explicit about which one they want. A workaround for now might be to create an ordering and pick just one set, so no cross/incompatible sets of sections is selected to form one Dwarf. -- You are receiving this mail because: You are on the CC list for the bug.