Print the name, not a pointer.

llvm-svn: 47796
This commit is contained in:
Nick Lewycky 2008-03-01 17:20:55 +00:00
parent 0070dd1de3
commit 7f6e95a973
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ Value::~Value() {
// a <badref> // a <badref>
// //
if (!use_empty()) { 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) for (use_iterator I = use_begin(), E = use_end(); I != E; ++I)
DOUT << "Use still stuck around after Def is destroyed:" DOUT << "Use still stuck around after Def is destroyed:"
<< **I << "\n"; << **I << "\n";