[Issue 22493] New: DWARF: Use flag DW_FORM for flag attributes to reduce binary size
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Nov 8 15:24:07 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=22493
Issue ID: 22493
Summary: DWARF: Use flag DW_FORM for flag attributes to reduce
binary size
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: contact at lsferreira.net
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.
--
More information about the Digitalmars-d-bugs
mailing list