summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
index c1c50df9ad3..d62e9bcc86c 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp
@@ -182,7 +182,7 @@ void DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) {
// location (eg: via a macro, or without column info, etc)) and then
// their arguments are conflated as well.
assert((LS->getParent() || CurNum != ArgNum) &&
- "Missing parameter for top level (non-inlined) function");
+ "Duplicate argument for top level (non-inlined) function");
++I;
}
Vars.insert(I, Var);
OpenPOWER on IntegriCloud