[PATCH] D21943: Add 'thin_lto_imported' metadata to imported function

Easwaran Raman via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 16:18:36 PDT 2016


eraman added inline comments.

================
Comment at: lib/Transforms/IPO/FunctionImport.cpp:597
@@ +596,3 @@
+                      llvm::MDNode::get(DestModule.getContext(),
+                                        llvm::ArrayRef<llvm::Metadata *>()));
+        GlobalsToImport.insert(&F);
----------------
It will be more useful to name this something like thin_lto_src_module and attach the source module's name.  


Repository:
  rL LLVM

http://reviews.llvm.org/D21943





More information about the llvm-commits mailing list