From ececf99c07febbcaeec73822519f0d36d3ee50c4 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Fri, 4 Jul 2008 09:55:48 +0000 Subject: Linux also does not require exception handling moves in order to get correct debug info. Since I can't imagine how any target could possibly be any different, I've just stripped out the option: now all the world's like Darwin! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53134 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/DwarfWriter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'lib/CodeGen/DwarfWriter.cpp') diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 2d0a114202..cf46413e70 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -3512,9 +3512,7 @@ public: shouldEmitTable = true; // See if we need frame move info. - if ((MMI->hasDebugInfo() && TAI->doesDebugInfoRequireFrameMoveInfo()) || - !MF->getFunction()->doesNotThrow() || - UnwindTablesMandatory) + if (!MF->getFunction()->doesNotThrow() || UnwindTablesMandatory) shouldEmitMoves = true; if (shouldEmitMoves || shouldEmitTable) -- cgit v1.2.3-18-g5258