summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: db0ec65)
raw | patch | inline | side by side (parent: db0ec65)
author | David Blaikie <dblaikie@gmail.com> | |
Thu, 9 Oct 2014 20:36:27 +0000 (20:36 +0000) | ||
committer | David Blaikie <dblaikie@gmail.com> | |
Thu, 9 Oct 2014 20:36:27 +0000 (20:36 +0000) |
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219440 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfDebug.cpp | patch | blob | history | |
lib/CodeGen/AsmPrinter/DwarfDebug.h | patch | blob | history |
index 86fe1a9e7040e370d0f8ce39597a8a094cbc7dff..62c82a397ecfbeb18f4117abd1ed2cf7163dc75f 100644 (file)
return !getLabelAfterInsn(Ranges.front().second);
}
-void DwarfDebug::constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
- LexicalScope *Scope) {
+void DwarfDebug::constructAbstractSubprogramScopeDIE(LexicalScope *Scope) {
assert(Scope && Scope->getScopeNode());
assert(Scope->isAbstractScope());
assert(!Scope->getInlinedAt());
DIDescriptor());
SPCU.applySubprogramAttributesToDefinition(SP, *AbsDef);
- if (TheCU.getCUNode().getEmissionKind() != DIBuilder::LineTablesOnly)
+ if (SPCU.getCUNode().getEmissionKind() != DIBuilder::LineTablesOnly)
SPCU.addUInt(*AbsDef, dwarf::DW_AT_inline, None, dwarf::DW_INL_inlined);
if (DIE *ObjectPointer = SPCU.createAndAddScopeChildren(Scope, *AbsDef))
SPCU.addDIEEntry(*AbsDef, dwarf::DW_AT_object_pointer, *ObjectPointer);
continue;
ensureAbstractVariableIsCreated(DV, DV.getContext());
}
- constructAbstractSubprogramScopeDIE(TheCU, AScope);
+ constructAbstractSubprogramScopeDIE(AScope);
}
TheCU.constructSubprogramScopeDIE(FnScope);
index 7ee0bc7fe6a810061e51d9391afdd7fe4c1d6aa8..9e314eba99252509244de88c43e15af2df94c961 100644 (file)
const MDNode *Scope);
/// \brief Construct a DIE for this abstract scope.
- void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
- LexicalScope *Scope);
+ void constructAbstractSubprogramScopeDIE(LexicalScope *Scope);
+
/// \brief Emit initial Dwarf sections with a label at the start of each one.
void emitSectionLabels();