diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-28 00:06:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-28 00:06:52 +0000 |
commit | 5efec2890119801f870159a59b15b116df0d070b (patch) | |
tree | cc2edd2fdecedbb6ea610a4b6554ac8df0091d02 | |
parent | 8a396e57abd6f047cfc875a41c4c23b9e1914824 (diff) |
Make error report a little more useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@657 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/VMCore/Value.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index bef0d4466f..d40aaca277 100644 --- 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; } |