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:
parent
2fc6c49ee7
commit
02d80cea8c
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user