Unbreak X86/ELF Debugging. Somehow this line got lost in Jim's cleanup.
llvm-svn: 31492
This commit is contained in:
parent
2bf78ba87d
commit
78c84a0328
|
|
@ -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());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue