diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-28 17:52:14 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-28 17:52:14 +0000 |
commit | 36e4b8aec43d07635543f5f94ae0bfce9735b402 (patch) | |
tree | 4c47ef6eb299ee352675f9bd90a5929ba660a1bd /lib/VMCore | |
parent | ee7cb2986657411de6e2eab9ab896d5275d9e1b4 (diff) | |
download | external_llvm-36e4b8aec43d07635543f5f94ae0bfce9735b402.zip external_llvm-36e4b8aec43d07635543f5f94ae0bfce9735b402.tar.gz external_llvm-36e4b8aec43d07635543f5f94ae0bfce9735b402.tar.bz2 |
Make error msg nicer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/SymbolTable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/SymbolTable.cpp b/lib/VMCore/SymbolTable.cpp index e054b88..e704294 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 } |