search for: dw_form_ref_sig8

Displaying 4 results from an estimated 4 matches for "dw_form_ref_sig8".

2019 Sep 20
3
Remove obsolete debug info while garbage collecting
...e). That would significantly reduce the >> number of references inside .debug_info section. It also >> makes it possible to have a 4-byte reference in this section >> instead of 8-bytes reference into type unit >> (DW_FORM_ref_types instead of DW_FORM_ref_sig8). It also >> makes it possible to place base types into this section and >> avoid per-compile unit duplication of them. Additionally, >> there could be achieved size reduction by not generating type >> unit header. Note, that new section - .de...
2019 Sep 11
4
Remove obsolete debug info while garbage collecting
...for the type deduplication as well. This solution (combined with the global type table, which is not implemented by this patch) has some advantages though. It could reduce the number of references inside .debug_info section. It could reduce the size of the type information by deduplicating base and DW_FORM_ref_sig8 types.  There are several things which would have been approved by the DWARF standard will help this implementation to work better: 1. Minimize or entirely avoid references from subprograms into other parts of .debug_info section. That would simplify splitting and removing subprograms out in tha...
2019 Sep 18
2
Remove obsolete debug info while garbage collecting
...able > (.debug_types_table). That would significantly reduce the number > of references inside .debug_info section. It also makes it > possible to have a 4-byte reference in this section instead of > 8-bytes reference into type unit (DW_FORM_ref_types instead of > DW_FORM_ref_sig8). It also makes it possible to place base types > into this section and avoid per-compile unit duplication of them. > Additionally, there could be achieved size reduction by not > generating type unit header. Note, that new section - > .debug_types_table - differs from D...
2017 Feb 04
2
DWARF: Should type units be referenced by signature or declaration?
Bunch of initially unrelated context: * type units can be referenced in a variety of ways: * DW_FORM_ref_sig8 on any attribute needing to reference the type * DW_AT_signature on a declaration of the type * extra wrinkle: the declaration can be nested into the appropriate namespace and given a name, or not * LLVM always does the "most expressive"/expensive thing: a full declaration (though w...