OSDN Git Service

[StackProtector] Use INITIALIZE_TM_PASS instead of INITIALIZE_PASS
authorSilviu Baranga <silviu.baranga@arm.com>
Wed, 14 Sep 2016 14:09:43 +0000 (14:09 +0000)
committerSilviu Baranga <silviu.baranga@arm.com>
Wed, 14 Sep 2016 14:09:43 +0000 (14:09 +0000)
commitf64fd3777c15b0145afeb57f62ca38bca97f4fed
treed1bccf3e29a2175fe8b75795ade059f859571be5
parent34771911935846fb258d9c8bbc63a38df454f034
[StackProtector] Use INITIALIZE_TM_PASS instead of INITIALIZE_PASS
in order to make sure that its TargetMachine constructor is
registered.

This allows us to run the PEI machine pass with MIR input
(see PR30324).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281474 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StackProtector.cpp