[PATCH] debugedit: Handle DWARF5 DW_UT_type (Unit type 2) in ET_EXE/DYN
Mark Wielaard
mark@klomp.org
Tue Oct 1 21:53:49 GMT 2024
Hi,
On Sun, Sep 29, 2024 at 01:04:45AM +0200, Mark Wielaard wrote:
> Handle DW_UT_type as if it is a DW_UT_compile unit by skipping the
> type id and offset in the header. Which are the only differences with
> DW_UT_compile. And the id and offset don't need to be rewritten. This
> doesn't handle debug types in objects or partial linked (ET_REL) files
> that contain COMDAT sections (because debugedit doesn't handle more
> than one debug_info section). Add a testcase for foobarbaz.exe.
Pushed to main.
Cheers,
Mark
More information about the Debugedit
mailing list