[PATCH] D26951: Object: Make IRObjectFile own multiple modules and enumerate symbols from all modules.

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 23 21:41:09 PST 2016


mehdi_amini accepted this revision.
mehdi_amini added a comment.
This revision is now accepted and ready to land.

LGTM.



================
Comment at: llvm/include/llvm/Object/IRObjectFile.h:31
 class IRObjectFile : public SymbolicFile {
-  std::unique_ptr<Module> M;
+  std::vector<std::unique_ptr<Module>> Ms;
   ModuleSymbolTable SymTab;
----------------
I rather avoid the ultra-contraction, what about: `Mods`


https://reviews.llvm.org/D26951





More information about the llvm-commits mailing list