summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-08-31 18:04:28 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-08-31 18:04:28 +0000
commit3fbf3b85466f9f76ced17fcbfe11c5047dd98280 (patch)
treecf992a83b112d22d40b2de3729e9f462176f362a /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
parent6a4d3f747287ad946202c9c6d89bdf78241e59f4 (diff)
downloadbcm5719-llvm-3fbf3b85466f9f76ced17fcbfe11c5047dd98280.tar.gz
bcm5719-llvm-3fbf3b85466f9f76ced17fcbfe11c5047dd98280.zip
DebugInfo: Move argument creation up into the caller that's unambiguously handling the subprogram scope (replacing a conditional with an assertion in the process)
llvm-svn: 216845
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
index b5a20b2b907..40385cf0b2c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
@@ -379,7 +379,7 @@ class DwarfDebug : public AsmPrinterHandler {
/// \brief Construct a DIE for this scope.
std::unique_ptr<DIE> constructScopeDIE(DwarfCompileUnit &TheCU,
LexicalScope *Scope);
- void createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope,
+ DIE *createAndAddScopeChildren(DwarfCompileUnit &TheCU, LexicalScope *Scope,
DIE &ScopeDIE);
/// \brief Construct a DIE for this abstract scope.
void constructAbstractSubprogramScopeDIE(DwarfCompileUnit &TheCU,
OpenPOWER on IntegriCloud