[Bug debugedit/27639] Unknown DWARF DW_FORM_0x1f20 (GNU_ref_alt) and DWARF DW_FORM_0x1f21 (strp_alt)
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Wed Apr 20 18:28:35 GMT 2022
https://sourceware.org/bugzilla/show_bug.cgi?id=27639
Mark Wielaard <mark at klomp dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mark at klomp dot org
Summary|Unknown DWARF |Unknown DWARF
|DW_FORM_0x1f20 and DWARF |DW_FORM_0x1f20
|DW_FORM_0x1f21 |(GNU_ref_alt) and DWARF
| |DW_FORM_0x1f21 (strp_alt)
--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Matthias Klose from comment #0)
> debugedit warns about unknown sections DWARF DW_FORM_0x1f20 and DWARF
> DW_FORM_0x1f21, when called for a binary which has been processed by dwz.
>
> These warnings should not be emitted when debugedit is just called to change
> the build-id.
How exactly are you calling debugedit? Which arguments are used?
And what exact warning do you see? unknown section names or unknown DWARF
FORMs?
In theory warnings about unknown forms should only be emitted when edit_dwarf2
is called. Which is guarded by:
if (!(do_build_id && no_recompute_build_id && !base_dir && !dest_dir)
&& name != NULL && strcmp (name, ".debug_info") == 0)
edit_dwarf2 (dso);
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Debugedit
mailing list