Unbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.

llvm-svn: 31492
This commit is contained in:
Reid Spencer 2006-11-07 06:36:36 +00:00
parent 2bf78ba87d
commit 78c84a0328
1 changed files with 2 additions and 0 deletions

View File

@ -2418,6 +2418,8 @@ private:
/// EmitFunctionDebugFrame - Emit per function frame info into a debug frame /// EmitFunctionDebugFrame - Emit per function frame info into a debug frame
/// section. /// section.
void EmitFunctionDebugFrame() { void EmitFunctionDebugFrame() {
if (!TAI->getDwarfRequiresFrameSection())
return;
// Start the dwarf frame section. // Start the dwarf frame section.
Asm->SwitchToDataSection(TAI->getDwarfFrameSection()); Asm->SwitchToDataSection(TAI->getDwarfFrameSection());