Bug 22493 – DWARF: Use flag DW_FORM for flag attributes to reduce binary size

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-11-08T15:24:07Z
Last change time
2024-12-13T19:19:13Z
Assigned to
No Owner
Creator
Luís Ferreira
Moved to GitHub: dmd#20005 →

Comments

Comment #0 by contact — 2021-11-08T15:24:07Z
DW_FORM_data1 is being used on every debug info entry, which adds 1 byte, even if the entry doesn't have that flag. With DWARF5, flags can be enabled on the abbreviation code, reducing the debug info entry size and therefore the overall size significantly.
Comment #1 by robert.schadek — 2024-12-13T19:19:13Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20005 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB