[llvm-commits] [llvm] r47796 - /llvm/trunk/lib/VMCore/Value.cpp
Nick Lewycky
nicholas at mxc.ca
Sat Mar 1 09:20:56 PST 2008
Author: nicholas
Date: Sat Mar 1 11:20:55 2008
New Revision: 47796
URL: http://llvm.org/viewvc/llvm-project?rev=47796&view=rev
Log:
Print the name, not a pointer.
Modified:
llvm/trunk/lib/VMCore/Value.cpp
Modified: llvm/trunk/lib/VMCore/Value.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/Value.cpp?rev=47796&r1=47795&r2=47796&view=diff
==============================================================================
--- llvm/trunk/lib/VMCore/Value.cpp (original)
+++ llvm/trunk/lib/VMCore/Value.cpp Sat Mar 1 11:20:55 2008
@@ -53,7 +53,7 @@
// 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";
More information about the llvm-commits
mailing list