[Bug default/27212] ./dwz: xxx: Invalid DW_AT_decl_file file number 20
mark at klomp dot org
sourceware-bugzilla@sourceware.org
Wed Jan 20 21:15:12 GMT 2021
https://sourceware.org/bugzilla/show_bug.cgi?id=27212
--- Comment #6 from Mark Wielaard <mark at klomp dot org> ---
The "dance" with having the file number only translated once and then storing
the negated number was to prevent translating it again when we processed the
same abbrev for another DIE. I am trying to convince myself this cannot happen
with this patch. But am not 100% sure.
If we go with this change then the write_die part can be simplified a little by
getting rid of the bool update variable before the first switch statement (and
setting it to true in all the cases) and just have case DW_FORM_implicit_const:
break; in the second switch statement.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Dwz
mailing list