Print the name, not a pointer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47796 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2008-03-01 17:20:55 +00:00
parent ea7da50e5a
commit 1038222a9b

View File

@ -53,7 +53,7 @@ Value::~Value() {
// a <badref>
//
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";