summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-09 20:21:36 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-09 20:21:36 +0000
commit1d072348cfd5508b3934b0d24c54e42a7b2fe988 (patch)
tree53af065c6bf2bdab9b4db9a086f1e8661b3c3354 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent8ada0b9713c00c2dc860da030bc37075a58de378 (diff)
downloadbcm5719-llvm-1d072348cfd5508b3934b0d24c54e42a7b2fe988.tar.gz
bcm5719-llvm-1d072348cfd5508b3934b0d24c54e42a7b2fe988.zip
Sink DwarfDebug::constructSubprogramScopeDIE down into DwarfCompileUnit
llvm-svn: 219436
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index 099b136ad23..7d72602792f 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -349,15 +349,9 @@ class DwarfDebug : public AsmPrinterHandler {
void ensureAbstractVariableIsCreatedIfScoped(const DIVariable &Var,
const MDNode *Scope);
- DIE *createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope,
- DIE &ScopeDIE);
/// \brief Construct a DIE for this abstract scope.
void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
LexicalScope *Scope);
- /// \brief Construct a DIE for this subprogram scope.
- void constructSubprogramScopeDIE(DwarfCompileUnit &TheCU,
- LexicalScope *Scope);
-
/// \brief Emit initial Dwarf sections with a label at the start of each one.
void emitSectionLabels();
@@ -680,6 +674,17 @@ public:
}
ScopeVariablesMap &getScopeVariables() { return ScopeVariables; }
+
+ SmallPtrSet<const MDNode *, 16> &getProcessedSPNodes() {
+ return ProcessedSPNodes;
+ }
+
+ SmallVector<DbgVariable *, 8> &getCurrentFnArguments() {
+ return CurrentFnArguments;
+ }
+
+ DIE *createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope,
+ DIE &ScopeDIE);
};
} // End of namespace llvm
OpenPOWER on IntegriCloud