This makes dwarf2out_late_global_decl only do late work, namely add
location/value attributes. For current LTO we need to make it do
early_global_decl as well (with LTO early debug this will be
conditionalized on !flag_lto_early_debug).
Bootstrapped and tested on x86_64-unknown-linux-gnu and ver
The following patch refactors dwarf2out_late_global_decl to only
add location or const value attributes in late dwarf phase. It
adds LTO support by doing the early phase there as well (just
what it would have done on-the-fly when using dwarf2out_decl).
This change enables the other part of the p