[Lldb-commits] [PATCH] D54747: Discard debuginfo for object files empty after GC
Eric Christopher via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 4 16:18:03 PST 2018
echristo added a comment.
In D54747#1315241 <https://reviews.llvm.org/D54747#1315241>, @ruiu wrote:
> But 2GB is perhaps still too big and I guess a large part of it can be for dead sections. If we fix this, I'd like to fix it in a proper way so that we can completely eliminate debug info for dead sections.
There's a few options here, mostly using comdat groups for debug infomation associated with sections that the debug information comes from. That said, it still wouldn't encompass compile units that would have no code in them because we didn't choose a single function from a .o file and so this patch is still a strict improvement over that. In addition, it doesn't involve future work to change how we emit debug info and doesn't depend on everyone emitting debug info the same way.
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
More information about the lldb-commits