[PATCH] D15025: [ThinLTO] Option to invoke ThinLTO backend passes and importing

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 4 12:29:08 PST 2015


tejohnson updated this revision to Diff 41926.
tejohnson added a comment.

- Use new renameModuleForThinLTO helper function from llvm.
- Fix tests

  I have not change the option name yet. Wanted to be sure we have a name that reflects the fact that this is a special compile that changes the compilation pipeline and is only used for the last part of a ThinLTO build in a distributed build situation. Let me know if you feel -fthinlto-index is sufficient for this, or if there is a better alternative to my current -fthinlto-backend.


http://reviews.llvm.org/D15025

Files:
  include/clang/CodeGen/BackendUtil.h
  include/clang/Driver/Options.td
  include/clang/Driver/Types.h
  include/clang/Frontend/CodeGenOptions.h
  lib/CodeGen/BackendUtil.cpp
  lib/CodeGen/CodeGenAction.cpp
  lib/Driver/Tools.cpp
  lib/Driver/Types.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/CodeGen/thinlto_backend.c
  test/Driver/thinlto_backend.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15025.41926.patch
Type: text/x-patch
Size: 16897 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151204/e3b860ce/attachment.bin>


More information about the cfe-commits mailing list