summaryrefslogtreecommitdiffstats
path: root/llvm/lib/VMCore/Value.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-03-01 17:20:55 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-03-01 17:20:55 +0000
commit7f6e95a973cd0088640c373eebad4c35a8a4df6a (patch)
tree2e2596e001e3acd10aafa5dc366de00c45383efb /llvm/lib/VMCore/Value.cpp
parent0070dd1de31cff5f5b6daa6275026de324dce748 (diff)
downloadbcm5719-llvm-7f6e95a973cd0088640c373eebad4c35a8a4df6a.tar.gz
bcm5719-llvm-7f6e95a973cd0088640c373eebad4c35a8a4df6a.zip
Print the name, not a pointer.
llvm-svn: 47796
Diffstat (limited to 'llvm/lib/VMCore/Value.cpp')
-rw-r--r--llvm/lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/VMCore/Value.cpp b/llvm/lib/VMCore/Value.cpp
index 9f8f56e1a74..a61a1a02472 100644
--- a/llvm/lib/VMCore/Value.cpp
+++ b/llvm/lib/VMCore/Value.cpp
@@ -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";
OpenPOWER on IntegriCloud