[PATCH] D28277: [ThinLTO] Rework llvm-link to use the FunctionImporter

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 3 22:14:42 PST 2017


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

Great! Thanks :)



================
Comment at: tools/llvm-link/llvm-link.cpp:259
+    auto &Entry = ImportList[FileName];
+    Entry.insert(std::make_pair(F->getGUID(), 1.0));
   }
----------------
Add a comment in front of the 1.0, like: 
`std::make_pair(F->getGUID(), /* (Unused) threshold */ 1.0)`


https://reviews.llvm.org/D28277





More information about the llvm-commits mailing list