[PATCH] D30546: Fully precise gc handling of __start and __stop symbols
Rafael Ávila de Espíndola via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 6 09:59:14 PST 2017
rafael updated this revision to Diff 90720.
rafael added a comment.
Use a DenseMap and clear it.
Not that this has to be a map to a std::vector since it has to include multiple sections. If we hit an undefined reference to __start_foo, we have to mark live all sections named foo.
https://reviews.llvm.org/D30546
Files:
ELF/MarkLive.cpp
test/ELF/linkerscript/sections-gc2.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30546.90720.patch
Type: text/x-patch
Size: 3715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170306/089665f4/attachment.bin>
More information about the llvm-commits
mailing list