From a89ab2c35548fb05c9b4df48c60539886568116d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 24 Jun 2003 22:20:19 +0000 Subject: [PATCH] Make assertion more descriptive git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6889 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/Value.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp index ac13159e30a..6cb0b09f520 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -40,7 +40,7 @@ Value::~Value() { << **I << "\n"; } #endif - assert(Uses.begin() == Uses.end()); + assert(Uses.begin() == Uses.end() &&"Uses remain when a value is destroyed!"); // There should be no uses of this object anymore, remove it. LeakDetector::removeGarbageObject(this);