moves in order to get correct debug info. Since
I can't imagine how any target could possibly
be any different, I've just stripped out the
option: now all the world's like Darwin!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53134
91177308-0d34-0410-b5e6-
96231b3b80d8
///
const char *DwarfExceptionSection; // Defaults to ".gcc_except_table".
- /// DebugInfoRequireFrameMoveInfo - Does debugging info require frame move
- /// info.
- ///
- bool DebugInfoRequireFrameMoveInfo; // Defaults to "true"
-
//===--- CBE Asm Translation Table -----------------------------------===//
const char *const *AsmTransCBE; // Defaults to empty
const char *getDwarfExceptionSection() const {
return DwarfExceptionSection;
}
- bool doesDebugInfoRequireFrameMoveInfo() const {
- return DebugInfoRequireFrameMoveInfo;
- }
const char *const *getAsmCBE() const {
return AsmTransCBE;
}
shouldEmitTable = true;
// See if we need frame move info.
- if ((MMI->hasDebugInfo() && TAI->doesDebugInfoRequireFrameMoveInfo()) ||
- !MF->getFunction()->doesNotThrow() ||
- UnwindTablesMandatory)
+ if (!MF->getFunction()->doesNotThrow() || UnwindTablesMandatory)
shouldEmitMoves = true;
if (shouldEmitMoves || shouldEmitTable)
DwarfEHFrameSection =
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
- DebugInfoRequireFrameMoveInfo = false;
GlobalEHDirective = "\t.globl\t";
SupportsWeakOmittedEHFrame = false;
DwarfMacInfoSection(".debug_macinfo"),
DwarfEHFrameSection(".eh_frame"),
DwarfExceptionSection(".gcc_except_table"),
- DebugInfoRequireFrameMoveInfo(true),
AsmTransCBE(0) {
}
DwarfEHFrameSection =
".section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support";
DwarfExceptionSection = ".section __DATA,__gcc_except_tab";
- DebugInfoRequireFrameMoveInfo = false;
break;
case X86Subtarget::isELF: