From: Chris Lattner Date: Sat, 28 Jul 2001 17:52:14 +0000 (+0000) Subject: Make error msg nicer X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=36e4b8aec43d07635543f5f94ae0bfce9735b402;p=oota-llvm.git Make error msg nicer git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index e054b8850c9..e704294f3a1 100644 --- a/lib/VMCore/SymbolTable.cpp +++ b/lib/VMCore/SymbolTable.cpp @@ -103,8 +103,8 @@ void SymbolTable::insert(Value *N) { // TODO: The typeverifier should catch this when its implemented if (lookup(N->getType(), N->getName())) { - cerr << "SymbolTable WARNING: Name already in symbol table: '" - << N->getName() << "'\n"; + cerr << "SymbolTable ERROR: Name already in symbol table: '" + << N->getName() << "' for type '" << N->getType()->getName() << "'\n"; abort(); // TODO: REMOVE THIS }