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:
8a396e5
)
Make error report a little more useful
author
Chris Lattner
<sabre@nondot.org>
Fri, 28 Sep 2001 00:06:52 +0000
(
00:06
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 28 Sep 2001 00:06:52 +0000
(
00:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@657
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/VMCore/Value.cpp
patch
|
blob
|
history
diff --git
a/lib/VMCore/Value.cpp
b/lib/VMCore/Value.cpp
index bef0d4466ff96be26a97583b697f59a17e864929..d40aaca2773b67bbaa208fa1bc06347c566c3a2a 100644
(file)
--- a/
lib/VMCore/Value.cpp
+++ b/
lib/VMCore/Value.cpp
@@
-33,6
+33,7
@@
Value::~Value() {
// a <badref>
//
if (Uses.begin() != Uses.end()) {
+ cerr << "While deleting: " << this;
for (use_const_iterator I = Uses.begin(); I != Uses.end(); ++I)
cerr << "Use still stuck around after Def is destroyed:" << *I << endl;
}