Ahem...actually *add* the ARMSjLjLowering pass to the pass manager.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140718 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2011-09-28 20:29:28 +00:00
parent 90d6ec5f14
commit 39689c8154

View File

@ -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;
}