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

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 27 21:16:04 PDT 2016


tejohnson created this revision.
tejohnson added a reviewer: joker.eph.
tejohnson added a subscriber: llvm-commits.
tejohnson added a dependency: D19636: [ThinLTO] Add option to emit imports files for distributed backends.
Herald added a subscriber: joker.eph.

Add new thinlto-prefix-replace plugin option to control where files
for a distributed backend (the individual index files and optional
imports files) are created.

If specified, expects a string of the form "oldprefix:newprefix", and
instead of generating these files in the same directory path as the
corresponding bitcode file, will use a path formed by replacing the
bitcode file's path prefix matching oldprefix with newprefix.

Depends on D19636.

http://reviews.llvm.org/D19644

Files:
  test/tools/gold/X86/thinlto_prefix_replace.ll
  tools/gold/gold-plugin.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19644.55374.patch
Type: text/x-patch
Size: 6508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160428/4339c65a/attachment.bin>


More information about the llvm-commits mailing list