From: Chris Lattner Date: Fri, 28 Sep 2001 00:06:52 +0000 (+0000) Subject: Make error report a little more useful X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5efec2890119801f870159a59b15b116df0d070b;p=oota-llvm.git Make error report a little more useful git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@657 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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; }