[Bug debugedit/32157] Handle DW_UT_TYPE units (Unit type 2)

mark at klomp dot org sourceware-bugzilla@sourceware.org
Tue Oct 1 21:56:38 GMT 2024


https://sourceware.org/bugzilla/show_bug.cgi?id=32157

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Mark Wielaard <mark at klomp dot org> ---
commit a359559d4a7696a415cfec5f924363d26cb9a4eb
Author: Mark Wielaard <mark@klomp.org>
Date:   Sat Sep 28 23:39:29 2024 +0200

    debugedit: Handle DWARF5 DW_UT_type (Unit type 2) in ET_EXE/DYN

    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.

    https://sourceware.org/bugzilla/show_bug.cgi?id=32157

    Signed-off-by: Mark Wielaard <mark@klomp.org>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Debugedit mailing list