1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00

Make error report a little more useful

llvm-svn: 657
This commit is contained in:
Chris Lattner 2001-09-28 00:06:52 +00:00
parent 2fc6c49ee7
commit 02d80cea8c

View File

@ -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;
}