From fb2efde3419831df9076b9d78c4534404da0c2f8 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Fri, 31 Oct 2014 16:45:36 +0000 Subject: Correct assert text from r220923 Noticed in post-commit review by Adrian Prantl. llvm-svn: 220967 --- llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp') 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); -- cgit v1.2.3