[Bug debugedit/33204] golang 1.25 generates dwarf5 by default that is incompatible with debugedit

mark at klomp dot org sourceware-bugzilla@sourceware.org
Wed Jul 23 23:21:26 GMT 2025


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

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
That is DW_FORM_string which is an embedded string. That is somewhat
inefficient since it cannot be shared and directory paths are often the same
between compile units.

This is somewhat unfortunate since debugedit assumes that the size of a DWARF5
line table doesn't change
https://sourceware.org/cgit/debugedit/tree/tools/debugedit.c#n2317

But we do handle that for DWARF4 so it should be possible to handle.

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


More information about the Debugedit mailing list