https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92442
--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- Mark, you're looking after -gsplit-dwarf - can you comment on whether we can drop the -gpubnames "requirement"? In the end I'd suggest to change the implementation to emit pubnames from the pruned DIE tree rather than gathering them upfront in various places and make them prevent pruning DIEs.