summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/Function.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-08-16 18:19:31 +0000
committerGreg Clayton <gclayton@apple.com>2011-08-16 18:19:31 +0000
commitcbc9eb45ab1ff3cb174226ce68145d40bdb5a496 (patch)
tree6703e5efbba3166615c38b76851c59433a906887 /lldb/source/Symbol/Function.cpp
parentefe9a42379080208ff89b6af5073692c665d860a (diff)
downloadbcm5719-llvm-cbc9eb45ab1ff3cb174226ce68145d40bdb5a496.tar.gz
bcm5719-llvm-cbc9eb45ab1ff3cb174226ce68145d40bdb5a496.zip
Fixed the logging output that appears when doing a:
(lldb) target modules dump symfile llvm-svn: 137732
Diffstat (limited to 'lldb/source/Symbol/Function.cpp')
-rw-r--r--lldb/source/Symbol/Function.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/lldb/source/Symbol/Function.cpp b/lldb/source/Symbol/Function.cpp
index ca1499745b1..fd4e15f5ea7 100644
--- a/lldb/source/Symbol/Function.cpp
+++ b/lldb/source/Symbol/Function.cpp
@@ -361,16 +361,14 @@ Function::Dump(Stream *s, bool show_context) const
m_mangled.Dump(s);
-// FunctionInfo::Dump(s);
if (m_type)
{
- *s << ", type = " << (void*)m_type;
- /// << " (";
- ///m_type->DumpTypeName(s);
- ///s->PutChar(')');
+ s->Printf(", type = %.*p", (int)sizeof(void*) * 2, m_type);
}
else if (m_type_uid != LLDB_INVALID_UID)
- *s << ", type_uid = " << m_type_uid;
+ {
+ s->Printf(", type_uid = 0x%8.8x", m_type_uid);
+ }
s->EOL();
// Dump the root object
OpenPOWER on IntegriCloud