[PATCH] D26951: Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 21 18:54:29 PST 2016
pcc created this revision.
pcc added a reviewer: mehdi_amini.
pcc added a subscriber: llvm-commits.
pcc added dependencies: D26179: Bitcode: Introduce BitcodeWriter interface., D26928: Object: Simplify the IRObjectFile symbol iterator implementation., D26778: Add llvm-modextract tool..
This is the beginnings of multi-module support in IRObjectFile. Note that
the interface still only exposes a single module (i.e. the first one) via
getModule() and takeModule(). A later patch will change the API to expose
all modules.
Depends on https://reviews.llvm.org/D26179
Depends on https://reviews.llvm.org/D26778
Depends on https://reviews.llvm.org/D26928
https://reviews.llvm.org/D26951
Files:
llvm/include/llvm/Object/IRObjectFile.h
llvm/lib/LTO/LTOModule.cpp
llvm/lib/Object/IRObjectFile.cpp
llvm/test/Object/Inputs/multi-module.ll
llvm/test/Object/multi-module.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26951.78819.patch
Type: text/x-patch
Size: 5399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161122/5153a512/attachment.bin>
More information about the llvm-commits
mailing list