summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2008-07-04 09:55:48 +0000
committerDuncan Sands <baldrick@free.fr>2008-07-04 09:55:48 +0000
commit04fb6bf46832f9601ae980f0986fba4c09699e88 (patch)
treea0d5eb3747f709534f8b5dd4678748b54d5e19c2 /llvm/lib/CodeGen/DwarfWriter.cpp
parentbe0e659da4388672f965f664d929569305f4a9d2 (diff)
downloadbcm5719-llvm-04fb6bf46832f9601ae980f0986fba4c09699e88.tar.gz
bcm5719-llvm-04fb6bf46832f9601ae980f0986fba4c09699e88.zip
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! llvm-svn: 53134
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r--llvm/lib/CodeGen/DwarfWriter.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp
index 2d0a1142027..cf46413e708 100644
--- a/llvm/lib/CodeGen/DwarfWriter.cpp
+++ b/llvm/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)
OpenPOWER on IntegriCloud