summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-04-12 18:19:45 +0000
committerChris Lattner <sabre@nondot.org>2002-04-12 18:19:45 +0000
commit6fc8c2374a3064a3ac7e9a4d155843d122a22950 (patch)
tree824bbd203b67adeff12b6a3529540e78f8d4f98e /llvm
parent0b32d0d511452eaf3323a84ed8ca2d4667c5da55 (diff)
downloadbcm5719-llvm-6fc8c2374a3064a3ac7e9a4d155843d122a22950.tar.gz
bcm5719-llvm-6fc8c2374a3064a3ac7e9a4d155843d122a22950.zip
Fix pure virtual function called exception!
llvm-svn: 2229
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/VMCore/Value.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index 7f28eb9d287..1309c566ad8 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/lib/VMCore/Value.cpp
@@ -33,8 +33,7 @@ Value::~Value() {
// a <badref>
//
if (Uses.begin() != Uses.end()) {
- std::cerr << "While deleting: ";
- dump();
+ std::cerr << "While deleting: " << Ty << "%" << Name << "\n";
for (use_const_iterator I = Uses.begin(); I != Uses.end(); ++I) {
std::cerr << "Use still stuck around after Def is destroyed:";
(*I)->dump();
OpenPOWER on IntegriCloud