GCC Middle and Back End API Reference
|
Data Fields | |
dw_die_ref | type |
dw_die_ref | stub |
unsigned | n_refs |
We want to limit the number of external references, because they are larger than local references: a relocation takes multiple words, and even a sig8 reference is always eight bytes, whereas a local reference can be as small as one byte (though DW_FORM_ref is usually 4 in GCC). So if we encounter multiple external references to the same type DIE, we make a local typedef stub for it and redirect all references there. This is the element of the hash table for keeping track of these references.
unsigned external_ref::n_refs |
Referenced by dwarf2_build_local_stub(), and optimize_external_refs_1().
dw_die_ref external_ref::stub |
Referenced by build_abbrev_table(), dwarf2_build_local_stub(), and optimize_external_refs_1().
dw_die_ref external_ref::type |