HomePhabricator

[StackProtector] Use INITIALIZE_TM_PASS instead of INITIALIZE_PASS

Description

[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).

Details

Committed
sbarangaSep 14 2016, 7:09 AM
Parents
rL281473: Adding missing directive for Power9.
Branches
Unknown
Tags
Unknown