[PATCH] D11908: Clang support for -fthinlto.

Teresa Johnson via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 23 10:28:30 PDT 2015


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

Updated the patch for the new LLVM/gold patch (http://reviews.llvm.org/D13107).

Two changes:

- I put back the original change to pass a new plugin option to gold. Since the function index design/name has been generalized to not be ThinLTO-specific, it makes sense to have the ThinLTO-related gold behavior for modules with those sections to be dependent on an option.
- Added 2 tests.


http://reviews.llvm.org/D11908

Files:
  include/clang/Driver/Options.td
  include/clang/Frontend/CodeGenOptions.def
  lib/CodeGen/BackendUtil.cpp
  lib/Driver/Driver.cpp
  lib/Driver/Tools.cpp
  lib/Frontend/CompilerInvocation.cpp
  test/Driver/thinlto.c
  test/Misc/thinlto.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11908.35527.patch
Type: text/x-patch
Size: 6546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150923/2f5542b8/attachment.bin>


More information about the cfe-commits mailing list