summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-28 00:06:52 +0000
committerChris Lattner <sabre@nondot.org>2001-09-28 00:06:52 +0000
commitd695305ea3f3ad7c46ed737a2fc11490ef4b1dd9 (patch)
treeacbe766b95d9b1ef7141f40274cc71a4aa0fcb00 /llvm/lib
parentb271be3185a85c4527a48e330874bdcbaded2af7 (diff)
downloadbcm5719-llvm-d695305ea3f3ad7c46ed737a2fc11490ef4b1dd9.tar.gz
bcm5719-llvm-d695305ea3f3ad7c46ed737a2fc11490ef4b1dd9.zip
Make error report a little more useful
llvm-svn: 657
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Value.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index bef0d4466ff..d40aaca2773 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/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;
}
OpenPOWER on IntegriCloud