This allows some tools (e.g. dump_syms) to rely on DW_AT_inline to determine if a DW_TAG_subprogram is inlined or not.
Tested for building chrome, the .debug_info size increased 1.4% under -g1 with this change with dwarf4, and only 1.5% increase in .debug_abbrev with dwarf 5.
Dwarf4 size changes:
FILE SIZE VM SIZE -------------- -------------- +1.4% +3.39Mi [ = ] 0 .debug_info +1.0% +53.9Ki [ = ] 0 .debug_abbrev -0.0% -2 [ = ] 0 .debug_str +0.4% +3.45Mi [ = ] 0 TOTAL
Dwarf5 size changes:
FILE SIZE VM SIZE -------------- -------------- +1.5% +86.3Ki [ = ] 0 .debug_abbrev +0.0% +86.3Ki [ = ] 0 TOTAL
Could these be collapsed down into:
? (and/or is there a particular reason one of these is UInt and the other is SInt?