parent
f5e075d392
commit
21ccf05b4c
|
@ -2620,6 +2620,9 @@ void DwarfDebug::beginFunction(const MachineFunction *MF) {
|
||||||
|
|
||||||
recordSourceLine(Line, Col, Scope);
|
recordSourceLine(Line, Col, Scope);
|
||||||
|
|
||||||
|
/// ProcessedArgs - Collection of arguments already processed.
|
||||||
|
SmallPtrSet<const MDNode *, 8> ProcessedArgs;
|
||||||
|
|
||||||
DebugLoc PrevLoc;
|
DebugLoc PrevLoc;
|
||||||
for (MachineFunction::const_iterator I = MF->begin(), E = MF->end();
|
for (MachineFunction::const_iterator I = MF->begin(), E = MF->end();
|
||||||
I != E; ++I)
|
I != E; ++I)
|
||||||
|
@ -2704,7 +2707,6 @@ void DwarfDebug::endFunction(const MachineFunction *MF) {
|
||||||
// Clear debug info
|
// Clear debug info
|
||||||
CurrentFnDbgScope = NULL;
|
CurrentFnDbgScope = NULL;
|
||||||
InsnNeedsLabel.clear();
|
InsnNeedsLabel.clear();
|
||||||
ProcessedArgs.clear();
|
|
||||||
DbgVariableToFrameIndexMap.clear();
|
DbgVariableToFrameIndexMap.clear();
|
||||||
VarToAbstractVarMap.clear();
|
VarToAbstractVarMap.clear();
|
||||||
DbgVariableToDbgInstMap.clear();
|
DbgVariableToDbgInstMap.clear();
|
||||||
|
|
|
@ -231,9 +231,6 @@ class DwarfDebug {
|
||||||
/// a debuggging information entity.
|
/// a debuggging information entity.
|
||||||
SmallPtrSet<const MachineInstr *, 8> InsnNeedsLabel;
|
SmallPtrSet<const MachineInstr *, 8> InsnNeedsLabel;
|
||||||
|
|
||||||
/// ProcessedArgs - Collection of arguments already processed.
|
|
||||||
SmallPtrSet<const MDNode *, 8> ProcessedArgs;
|
|
||||||
|
|
||||||
SmallVector<const MCSymbol *, 8> DebugRangeSymbols;
|
SmallVector<const MCSymbol *, 8> DebugRangeSymbols;
|
||||||
|
|
||||||
/// Previous instruction's location information. This is used to determine
|
/// Previous instruction's location information. This is used to determine
|
||||||
|
|
Loading…
Reference in New Issue