[PATCH] D52296: [Clang] - Add '-gsplit-dwarf[=split, =single]' version for '-gsplit-dwarf' option.
Trass3r via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 21 14:52:10 PDT 2020
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
More information about the cfe-commits
mailing list