[PATCH] gold, libLTO: Add new flags to support bit set lowering.

Peter Collingbourne peter at pcc.me.uk
Tue Mar 17 15:39:56 PDT 2015


Hi rafael,

Add lowerbitsets flag to gold plugin and libLTO, and add disable-opt flag to
gold plugin. These flags can be used by the compiler driver to enable/disable
various parts of the compilation pipeline in cases where they are not needed.

In particular, this helps reduce link time in cases where the bit set lowering
pass is needed for control flow integrity, but the rest of LTO is not needed.

http://reviews.llvm.org/D8401

Files:
  include/llvm/LTO/LTOCodeGenerator.h
  include/llvm/Transforms/IPO/PassManagerBuilder.h
  lib/LTO/LTOCodeGenerator.cpp
  lib/Transforms/IPO/PassManagerBuilder.cpp
  test/tools/gold/disable-opt.ll
  test/tools/gold/lowerbitsets.ll
  tools/gold/gold-plugin.cpp
  tools/llvm-lto/llvm-lto.cpp
  tools/lto/lto.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8401.22139.patch
Type: text/x-patch
Size: 9841 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150317/361334bc/attachment.bin>


More information about the llvm-commits mailing list