diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-07-01 23:34:48 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-07-01 23:34:48 +0000 |
commit | b7bd02be57122d33fddac15dae463fcd12a24cd1 (patch) | |
tree | 91eef651acfc7a09068b9bf88bae837f7e6d3960 /llvm/lib/CodeGen/DwarfWriter.cpp | |
parent | 5f06a935a3e4a63305fdbe5202b9b25f1d3e7d7a (diff) | |
download | bcm5719-llvm-b7bd02be57122d33fddac15dae463fcd12a24cd1.tar.gz bcm5719-llvm-b7bd02be57122d33fddac15dae463fcd12a24cd1.zip |
Darwin doesn't need exception handling information for the "move" info when
debug information is being output, because it's leet!
llvm-svn: 52994
Diffstat (limited to 'llvm/lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index 68ec6c49ac3..569702c59df 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -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; |