diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-10-30 23:34:32 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-10-30 23:34:32 +0000 |
commit | 0de0c5da429f8651eeccbcbe68feab23054bd55d (patch) | |
tree | be424707a81d376a2245ee65d08b06c686727ee7 /lib/CodeGen/DwarfWriter.cpp | |
parent | 1d75400e2ed5704c4c156782a94ee139d638bb1b (diff) |
Fix a problem introduced by a last-minute change (logic negation).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index 40de586a3e..983d8f5182 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/lib/CodeGen/DwarfWriter.cpp @@ -2627,7 +2627,7 @@ void Dwarf::EmitDebugLines() const { /// EmitInitialDebugFrame - Emit common frame info into a debug frame section. /// void Dwarf::EmitInitialDebugFrame() { - if (TAI->getDwarfRequiresFrameSection()) + if (!TAI->getDwarfRequiresFrameSection()) return; int stackGrowth = @@ -2665,7 +2665,7 @@ void Dwarf::EmitInitialDebugFrame() { /// EmitFunctionDebugFrame - Emit per function frame info into a debug frame /// section. void Dwarf::EmitFunctionDebugFrame() { - if (TAI->getDwarfRequiresFrameSection()) + if (!TAI->getDwarfRequiresFrameSection()) return; // Start the dwarf frame section. |