1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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 ad29a49169
commit c0b361a17c

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";