[llvm-commits] [release_19] CVS: llvm/lib/CodeGen/DwarfWriter.cpp
Tanya Lattner
tonic at nondot.org
Wed Nov 8 09:39:06 PST 2006
Changes in directory llvm/lib/CodeGen:
DwarfWriter.cpp updated: 1.97 -> 1.97.2.1
---
Log message:
Merging from mainline
---
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.97.2.1
--- llvm/lib/CodeGen/DwarfWriter.cpp:1.97 Mon Nov 6 10:23:59 2006
+++ llvm/lib/CodeGen/DwarfWriter.cpp Wed Nov 8 11:38:54 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