mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
The DWARF EH pass doesn't need the TargetMachine, only the TargetLoweringBase like the other EH passes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -401,7 +401,7 @@ void TargetPassConfig::addPassesToHandleExceptions() {
|
||||
case ExceptionHandling::DwarfCFI:
|
||||
case ExceptionHandling::ARM:
|
||||
case ExceptionHandling::Win64:
|
||||
addPass(createDwarfEHPass(TM));
|
||||
addPass(createDwarfEHPass(TM->getTargetLowering()));
|
||||
break;
|
||||
case ExceptionHandling::None:
|
||||
addPass(createLowerInvokePass(TM->getTargetLowering()));
|
||||
|
Reference in New Issue
Block a user