[PATCH] D23721: [gold/ThinLTO] Restore ThinLTO file management in gold plugin

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 19 17:05:39 PDT 2016


mehdi_amini added inline comments.

================
Comment at: tools/gold/gold-plugin.cpp:833
@@ -825,1 +832,3 @@
+      HandleToInputFile.insert(std::make_pair(
+          F.leader_handle, llvm::make_unique<PluginInputFile>(F.handle)));
     const void *View = getSymbolsAndView(F);
----------------
Fo you need a map here? Can't you just push back to a vector?


https://reviews.llvm.org/D23721





More information about the llvm-commits mailing list