parent
deb979bf7a
commit
639890222e
|
@ -1677,9 +1677,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
||||||
if (!MF->getTarget().Options.DisableFramePointerElim(*MF))
|
if (!MF->getTarget().Options.DisableFramePointerElim(*MF))
|
||||||
TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
|
TheCU->addFlag(CurFnDIE, dwarf::DW_AT_APPLE_omit_frame_ptr);
|
||||||
|
|
||||||
DebugFrames.push_back(FunctionDebugFrameInfo(Asm->getFunctionNumber(),
|
|
||||||
MMI->getFrameMoves()));
|
|
||||||
|
|
||||||
// Clear debug info
|
// Clear debug info
|
||||||
for (DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> >::iterator
|
for (DenseMap<LexicalScope *, SmallVector<DbgVariable *, 8> >::iterator
|
||||||
I = ScopeVariables.begin(), E = ScopeVariables.end(); I != E; ++I)
|
I = ScopeVariables.begin(), E = ScopeVariables.end(); I != E; ++I)
|
||||||
|
|
|
@ -377,16 +377,6 @@ class DwarfDebug {
|
||||||
// body.
|
// body.
|
||||||
DebugLoc PrologEndLoc;
|
DebugLoc PrologEndLoc;
|
||||||
|
|
||||||
struct FunctionDebugFrameInfo {
|
|
||||||
unsigned Number;
|
|
||||||
std::vector<MachineMove> Moves;
|
|
||||||
|
|
||||||
FunctionDebugFrameInfo(unsigned Num, const std::vector<MachineMove> &M)
|
|
||||||
: Number(Num), Moves(M) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
std::vector<FunctionDebugFrameInfo> DebugFrames;
|
|
||||||
|
|
||||||
// Section Symbols: these are assembler temporary labels that are emitted at
|
// Section Symbols: these are assembler temporary labels that are emitted at
|
||||||
// the beginning of each supported dwarf section. These are used to form
|
// the beginning of each supported dwarf section. These are used to form
|
||||||
// section offsets and are created by EmitSectionLabels.
|
// section offsets and are created by EmitSectionLabels.
|
||||||
|
|
Loading…
Reference in New Issue