aboutsummaryrefslogtreecommitdiffstats
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
commit4d84674abc29e9b3dd9a5be328d1ec8af6c1a47d (patch)
tree1ced9d92512e38bd6d1066ae5b1ce147da48a651
parent7a5a4b2f7cef2b4ee12f8756c91765b30395809f (diff)
downloadexternal_llvm-4d84674abc29e9b3dd9a5be328d1ec8af6c1a47d.zip
external_llvm-4d84674abc29e9b3dd9a5be328d1ec8af6c1a47d.tar.gz
external_llvm-4d84674abc29e9b3dd9a5be328d1ec8af6c1a47d.tar.bz2
Print the name, not a pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47796 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/VMCore/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/Value.cpp b/lib/VMCore/Value.cpp
index 9f8f56e..a61a1a0 100644
--- a/lib/VMCore/Value.cpp
+++ b/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";