[PATCH] D26928: Object: Simplify the IRObjectFile symbol iterator implementation.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 12:57:13 PST 2016
pcc created this revision.
pcc added a reviewer: mehdi_amini.
pcc added subscribers: llvm-commits, rafael.
Change the IRObjectFile symbol iterator to be a pointer into a vector of
PointerUnions representing either IR symbols or asm symbols. While at it,
teach IRObjectFile to handle ifuncs.
This change is in preparation for a future change for supporting multiple
modules in an IRObjectFile. Although it causes an increase in memory
consumption, we can deal with that issue separately by introducing a bitcode
symbol table.
https://reviews.llvm.org/D26928
Files:
llvm/include/llvm/Object/IRObjectFile.h
llvm/lib/Object/IRObjectFile.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26928.78763.patch
Type: text/x-patch
Size: 5915 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161121/5cb6d19b/attachment.bin>
More information about the llvm-commits
mailing list