mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-15 05:24:01 +00:00
Untabification.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -969,12 +969,6 @@ DbgScope *DwarfDebug::getOrCreateScope(GlobalVariable *V) {
|
|||||||
DbgScope *Parent = NULL;
|
DbgScope *Parent = NULL;
|
||||||
DIBlock Block(V);
|
DIBlock Block(V);
|
||||||
|
|
||||||
// Don't create a new scope if we already created one for an inlined function.
|
|
||||||
DenseMap<const GlobalVariable *, DbgScope *>::iterator
|
|
||||||
II = AbstractInstanceRootMap.find(V);
|
|
||||||
if (II != AbstractInstanceRootMap.end())
|
|
||||||
return LexicalScopeStack.back();
|
|
||||||
|
|
||||||
if (!Block.isNull()) {
|
if (!Block.isNull()) {
|
||||||
DIDescriptor ParentDesc = Block.getContext();
|
DIDescriptor ParentDesc = Block.getContext();
|
||||||
Parent =
|
Parent =
|
||||||
@ -1030,6 +1024,8 @@ void DwarfDebug::ConstructDbgScope(DbgScope *ParentScope,
|
|||||||
AddLabel(Die, dwarf::DW_AT_high_pc, dwarf::DW_FORM_addr,
|
AddLabel(Die, dwarf::DW_AT_high_pc, dwarf::DW_FORM_addr,
|
||||||
DWLabel("func_end", SubprogramCount));
|
DWLabel("func_end", SubprogramCount));
|
||||||
|
|
||||||
|
// Add the scope's contents.
|
||||||
|
ConstructDbgScope(ConcreteInst, StartID, EndID, Die, Unit);
|
||||||
ParentDie->AddChild(Die);
|
ParentDie->AddChild(Die);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -874,4 +874,3 @@ void Path::UnMapFilePages(const char *BasePtr, uint64_t FileSize) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
} // end llvm namespace
|
} // end llvm namespace
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user