diff options
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp')
| -rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp index df4fe8d49806..10c844ddb14a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp @@ -94,7 +94,7 @@ void DwarfCFIException::beginFunction(const MachineFunction *MF) { shouldEmitCFI = MAI.usesCFIForEH() && (shouldEmitPersonality || shouldEmitMoves); else - shouldEmitCFI = Asm->needsCFIForDebug() && shouldEmitMoves; + shouldEmitCFI = Asm->usesCFIWithoutEH() && shouldEmitMoves; } void DwarfCFIException::beginBasicBlockSection(const MachineBasicBlock &MBB) { |
