[PATCH] D52296: [Clang] - Add -gsingle-file-split-dwarf option.
Eric Christopher via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 24 10:24:18 PDT 2018
echristo added a comment.
In https://reviews.llvm.org/D52296#1241928, @probinson wrote:
> Do we generate the .dwo file directly these days? If not, I can imagine wanting to avoid the overhead of the objcopy hack; as long as the linker is smart enough not to bother with the .debug_*.dwo sections this seems like a build-time win.
We do generate them generically with no objcopy hack.
As far as the standard text here, IMO it was just there in case people didn't have an objcopy around or don't want to split it. I'm not sure why we would want the ability. That said, if we do I'd rather have it as dwarf5 without split-dwarf as an option rather than a -gsingle-file-split-dwarf option.
https://reviews.llvm.org/D52296
More information about the cfe-commits
mailing list