From c0b361a17cb9c6ef8a79cebb4375eb7d1810f08d Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Sat, 1 Mar 2008 17:20:55 +0000 Subject: [PATCH] Print the name, not a pointer. llvm-svn: 47796 --- 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 9f8f56e1a74..a61a1a02472 100644 --- a/lib/VMCore/Value.cpp +++ b/lib/VMCore/Value.cpp @@ -53,7 +53,7 @@ Value::~Value() { // a // if (!use_empty()) { - DOUT << "While deleting: " << *Ty << " %" << Name << "\n"; + DOUT << "While deleting: " << *Ty << " %" << getNameStr() << "\n"; for (use_iterator I = use_begin(), E = use_end(); I != E; ++I) DOUT << "Use still stuck around after Def is destroyed:" << **I << "\n";