mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Make error report a little more useful
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@657 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8a396e57ab
commit
5efec28901
@ -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