[PATCH] D54747: Discard debuginfo for object files empty after GC
Robert O'Callahan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 30 16:09:23 PST 2018
rocallahan added a comment.
I agree that ideally the linker would be able to do fine-grained GC of DWARF at the granularity of individual DIEs and other data items. However, implementing that would be a huge project. Currently AFAICT `lld` does very little DWARF processing. Wholesale DWARF rewriting would expand the scope of the linker and require lots of testing against various DWARF producers and consumers. I definitely wouldn't want to implement that.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54747/new/
https://reviews.llvm.org/D54747
More information about the llvm-commits
mailing list