[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Reid Spencer
reid at x10sys.com
Mon Oct 30 15:34:46 PST 2006
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.88 -> 1.89
---
Log message:
Fix a problem introduced by a last-minute change (logic negation).
---
Diffs of the changes: (+2 -2)
DwarfWriter.cpp | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.88 llvm/lib/CodeGen/DwarfWriter.cpp:1.89
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.88 Mon Oct 30 16:32:29 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp Mon Oct 30 17:34:32 2006
@@ -2627,7 +2627,7 @@
/// 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 @@
/// 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.
More information about the llvm-commits
mailing list