Trass3r added a comment. Herald added a subscriber: dang. In D52296#1285328 <https://reviews.llvm.org/D52296#1285328>, @grimar wrote:
> In D52296#1284130 <https://reviews.llvm.org/D52296#1284130>, @probinson wrote: > > > Only DWARF supports this, correct? > > > I am not aware of any kind of debug information splitting except DWARF > splitting. Just for the record, msvc does something very similar to this -gsplit-dwarf=single option (using a linker option /DEBUG:FASTLINK instead of this SHF_EXCLUDE approach). Some questions: - How is this handled by dwp/llvm-dwp? I guess not yet since neither supports DWARF5 atm. - How does it interact with -gdwarf-5? Should it? - There is some deeply buried information about how gdb requires .debug_gnu_pubnames in the case of split dwarf: https://reviews.llvm.org/D54497?id=173943#1299461. Is this still true for this single split case? I'm asking cause these sections are huge and I wonder if they defeat the split dwarf link time gains. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D52296/new/ https://reviews.llvm.org/D52296 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits