aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit1038222a9bda953e8c2d32bad468b72b6c90bde9 (patch)
tree1ced9d92512e38bd6d1066ae5b1ce147da48a651 /lib/VMCore/Value.cpp
parentea7da50e5a7f291295c10d91fc3fdba76d339579 (diff)
downloadexternal_llvm-1038222a9bda953e8c2d32bad468b72b6c90bde9.zip
external_llvm-1038222a9bda953e8c2d32bad468b72b6c90bde9.tar.gz
external_llvm-1038222a9bda953e8c2d32bad468b72b6c90bde9.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
Diffstat (limited to 'lib/VMCore/Value.cpp')
-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";