[PATCH] D19644: [ThinLTO] Option to control path of distributed backend files

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 23:06:07 PDT 2016


joker.eph added inline comments.

================
Comment at: test/tools/gold/X86/thinlto_prefix_replace.ll:4
@@ +3,3 @@
+; RUN: opt -module-summary %s -o %T/oldpath/thinlto_prefix_replace.o
+; RUN: rm -f %T/newpath/thinlto_prefix_replace.o.thinlto.bc
+; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \
----------------
Deserve a comment

================
Comment at: tools/gold/gold-plugin.cpp:198
@@ -192,1 +197,3 @@
+  // bitcode file's path prefix matching oldprefix with newprefix.
+  static std::string thinlto_prefix_replace;
   // Additional options to pass into the code generator.
----------------
What is the motivation for that?


http://reviews.llvm.org/D19644





More information about the llvm-commits mailing list