>
> 2018-10-31 Richard Biener
>
> * dwarf2out.c (build_abbrev_table): Guard lookup_external_ref call
> with is_type_die.
As discussed on IRC, i have backported this to GCC 8 because it causes
noticeable slowness when building Firefox with debug info.
Honza
>
> Honza reports high CPU usage from lookup_external_ref at LTRANS time.
> This is likely because build_abbrev_table calls it on all DIEs
> rather than just type DIEs which we populate the ref table with.
> So we end up calling it for all the DIEs refering to early debug,
> possibly many distinct
Honza reports high CPU usage from lookup_external_ref at LTRANS time.
This is likely because build_abbrev_table calls it on all DIEs
rather than just type DIEs which we populate the ref table with.
So we end up calling it for all the DIEs refering to early debug,
possibly many distinct ones with