projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee7cb29
)
Make error msg nicer
author
Chris Lattner
<sabre@nondot.org>
Sat, 28 Jul 2001 17:52:14 +0000
(17:52 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sat, 28 Jul 2001 17:52:14 +0000
(17:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/SymbolTable.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/SymbolTable.cpp
b/lib/VMCore/SymbolTable.cpp
index e054b8850c9ab8cf5fdeebb1ac53858a8bc43015..e704294f3a12c4b6a8061afa307bcbb9858cc607 100644
(file)
--- 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
}