[PATCH] D13913: Allow linking multiple bitcode files.

Eric Christopher via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 12:45:03 PDT 2015


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

One inline comment, otherwise LGTM.

-eric


================
Comment at: include/clang/CodeGen/CodeGenAction.h:28
@@ -27,3 +27,3 @@
   std::unique_ptr<llvm::Module> TheModule;
-  llvm::Module *LinkModule;
+  SmallVector<std::pair<unsigned, llvm::Module *>, 4> LinkModules;
   llvm::LLVMContext *VMContext;
----------------
Can we either make the pair a typedef or add some comments about the flags?


http://reviews.llvm.org/D13913





More information about the cfe-commits mailing list