summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-10-24 00:43:47 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-10-24 00:43:47 +0000
commitf4c504e03c6fe4394cdf22caf428667a2f2a5fce (patch)
tree48ad875affa46e05e15a1652e3d3dc743db7ba35 /llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
parent26f63f77cdfe7cc952f5937d000ca3720ed508de (diff)
downloadbcm5719-llvm-f4c504e03c6fe4394cdf22caf428667a2f2a5fce.tar.gz
bcm5719-llvm-f4c504e03c6fe4394cdf22caf428667a2f2a5fce.zip
DebugInfo: Remove DwarfDebug::addScopeVariable now that it's just a trivial wrapper
llvm-svn: 220542
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index 0d92169587b..e9df3854e78 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -155,8 +155,7 @@ void DwarfFile::emitStrings(const MCSection *StrSection,
StrPool.emit(*Asm, StrSection, OffsetSection);
}
-void DwarfFile::addNonArgumentScopeVariable(LexicalScope *LS,
- DbgVariable *Var) {
+void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
SmallVectorImpl<DbgVariable *> &Vars = DD.getScopeVariables()[LS];
DIVariable DV = Var->getVariable();
// Variables with positive arg numbers are parameters.
OpenPOWER on IntegriCloud