]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - opencl/llvm.git/commitdiff
Correct assert text from r220923
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Oct 2014 16:45:36 +0000 (16:45 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 31 Oct 2014 16:45:36 +0000 (16:45 +0000)
Noticed in post-commit review by Adrian Prantl.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220967 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DwarfFile.cpp

index c1c50df9ad3443019459283812a211db8c29a1ad..d62e9bcc86cd34d7bf7147b7087b297fdb3a4d96 100644 (file)
@@ -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);