diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index bef0d4466ff..d40aaca2773 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -33,6 +33,7 @@ Value::~Value() { // a // 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; }