From: Nick Lewycky Date: Sat, 1 Mar 2008 17:20:55 +0000 (+0000) Subject: Print the name, not a pointer. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1038222a9bda953e8c2d32bad468b72b6c90bde9;p=oota-llvm.git Print the name, not a pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47796 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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";