mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-03 12:18:00 +00:00
Darwin doesn't need exception handling information for the "move" info when
debug information is being output, because it's leet! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52994 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -827,7 +827,7 @@ protected:
|
||||
///
|
||||
AsmPrinter *Asm;
|
||||
|
||||
/// TAI - Target Asm Printer.
|
||||
/// TAI - Target asm information.
|
||||
const TargetAsmInfo *TAI;
|
||||
|
||||
/// TD - Target data.
|
||||
@@ -3511,7 +3511,7 @@ public:
|
||||
shouldEmitTable = true;
|
||||
|
||||
// See if we need frame move info.
|
||||
if (MMI->hasDebugInfo() ||
|
||||
if ((MMI->hasDebugInfo() && TAI->doesDebugInfoRequireFrameMoveInfo()) ||
|
||||
!MF->getFunction()->doesNotThrow() ||
|
||||
UnwindTablesMandatory)
|
||||
shouldEmitMoves = true;
|
||||
|
Reference in New Issue
Block a user