[PATCH] D45531: [LTO] Add stats-file option to LTO/Config.h.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 18 07:58:15 PDT 2018


fhahn updated this revision to Diff 142937.
fhahn retitled this revision from "[GoldPlugin] Add support for -save-stats=obj." to "[LTO] Add stats-file option to LTO/Config.h.".
fhahn edited the summary of this revision.
fhahn added a comment.
Herald added a subscriber: inglorion.

Thank you very much for your suggestions Teresa! I've updated the patch to handle a new StatsFile config option in LTO::run. And added stats-file support to LLVMgold.so and llvm-lto2. I will link the patch that updated AddGoldPlugin.


https://reviews.llvm.org/D45531

Files:
  include/llvm/LTO/Config.h
  lib/LTO/LTO.cpp
  test/tools/gold/X86/stats-file-option.ll
  test/tools/llvm-lto2/X86/stats-file-option.ll
  tools/gold/gold-plugin.cpp
  tools/llvm-lto2/llvm-lto2.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45531.142937.patch
Type: text/x-patch
Size: 5283 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180418/580e7b38/attachment.bin>


More information about the llvm-commits mailing list