From 5efec2890119801f870159a59b15b116df0d070b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 28 Sep 2001 00:06:52 +0000 Subject: [PATCH] Make error report a little more useful git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@657 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Value.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.34.1