diff options
author | Tanya Lattner <tonic@nondot.org> | 2006-11-08 17:38:54 +0000 |
---|---|---|
committer | Tanya Lattner <tonic@nondot.org> | 2006-11-08 17:38:54 +0000 |
commit | 9200d055b5c9fdec2992a2ab9fa3363978e8630d (patch) | |
tree | dca75962503ae78801915d27d82e4985649bb51d | |
parent | c739b273e9464e68141d910edc3de6c7db59751d (diff) | |
download | llvm-9200d055b5c9fdec2992a2ab9fa3363978e8630d.zip llvm-9200d055b5c9fdec2992a2ab9fa3363978e8630d.tar.gz llvm-9200d055b5c9fdec2992a2ab9fa3363978e8630d.tar.bz2 |
Merging from mainline
llvm-svn: 31554
-rw-r--r-- | llvm/lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/DwarfWriter.cpp b/llvm/lib/CodeGen/DwarfWriter.cpp index c18fb12..81c8963 100644 --- a/llvm/lib/CodeGen/DwarfWriter.cpp +++ b/llvm/lib/CodeGen/DwarfWriter.cpp @@ -2418,6 +2418,8 @@ private: /// 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()); |