Enabling new pass manager in LTO (and thinLTO) link step.
authorSean Fertile <sfertile@ca.ibm.com>
Thu, 5 Oct 2017 01:48:42 +0000 (01:48 +0000)
committerSean Fertile <sfertile@ca.ibm.com>
Thu, 5 Oct 2017 01:48:42 +0000 (01:48 +0000)
commitdf8d9986028fe57d5c9d33e448b89bca7f46a737
tree4bf4a81ceab55c81181fa2dc0dfcb1e0779bbd65
parent04ab11a08a9ad13add43913d91df76e8fa07a47d
Enabling new pass manager in LTO (and thinLTO) link step.

Adds the option 'new-pass-manager' to the gold pluggin to enable using the
new pass manager during the lto/thinlto link step.

Patch by Graham Yiu.

 Differential Revision: https://reviews.llvm.org/D38517

llvm-svn: 314963
llvm/tools/gold/gold-plugin.cpp