[llvm-commits] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Reid Spencer
reid at x10sys.com
Mon Nov 6 22:37:10 PST 2006
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.97 -> 1.98
---
Log message:
Unbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.
---
Diffs of the changes: (+2 -0)
DwarfWriter.cpp | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/lib/CodeGen/DwarfWriter.cpp
diff -u llvm/lib/CodeGen/DwarfWriter.cpp:1.97 llvm/lib/CodeGen/DwarfWriter.cpp:1.98
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.97 Mon Nov 6 10:23:59 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp Tue Nov 7 00:36:36 2006
@@ -2418,6 +2418,8 @@
/// EmitFunctionDebugFrame - Emit per function frame info into a debug frame
/// section.
void EmitFunctionDebugFrame() {
+ if (!TAI->getDwarfRequiresFrameSection())
+ return;
// Start the dwarf frame section.
Asm->SwitchToDataSection(TAI->getDwarfFrameSection());
More information about the llvm-commits
mailing list