[PATCH] D37718: [ELF] Handle references to garbage collected common symbols
ben via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 08:40:43 PDT 2017
bd1976llvm added a comment.
I posted this to the mailing list (copy here):
> Thanks - I now plan to submit a series of patches to clean up this area of the code.
> The basic plan is:
>
> 1. During write we should be able to use the Live bit to treat discarded and gc'd sections identically.
> 2. Before garbage collection we should replace all common symbols with equivalent bss symbols. These can then be treated like any other Defined Regular after that point.
I have finally got around to doing this improvement work, please take a look at:
1. https://reviews.llvm.org/D38136 (During write we should be able to use the Live bit to treat discarded and gc'd sections identically.)
2. https://reviews.llvm.org/D38137 (replace all common symbols with equivalent bss symbols.)
Repository:
rL LLVM
https://reviews.llvm.org/D37718
More information about the llvm-commits
mailing list