diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-11-07 06:36:36 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-11-07 06:36:36 +0000 |
commit | 5a4951e93622118eaf345d6c7599eccb6d4cfb65 (patch) | |
tree | 1c9ca8096087287756d2633bc9d75b21da758d4c /lib/CodeGen/DwarfWriter.cpp | |
parent | f8dacd1c5241a1178ea987fe285a4be5c6684b43 (diff) |
Unbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/DwarfWriter.cpp')
-rw-r--r-- | lib/CodeGen/DwarfWriter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/DwarfWriter.cpp b/lib/CodeGen/DwarfWriter.cpp index c18fb12449..81c8963e16 100644 --- a/lib/CodeGen/DwarfWriter.cpp +++ b/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()); |