forked from OSchip/llvm-project
Ahem...actually *add* the ARMSjLjLowering pass to the pass manager.
llvm-svn: 140718
This commit is contained in:
parent
600ba208ab
commit
dfe5acd34e
|
@ -109,7 +109,7 @@ bool ARMBaseTargetMachine::addPreRegAlloc(PassManagerBase &PM,
|
|||
if (OptLevel != CodeGenOpt::None && Subtarget.isCortexA9())
|
||||
PM.add(createMLxExpansionPass());
|
||||
if (getMCAsmInfo()->getExceptionHandlingType() == ExceptionHandling::SjLj)
|
||||
createARMSjLjLoweringPass();
|
||||
PM.add(createARMSjLjLoweringPass());
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue