Fixed the logging output that appears when doing a:
(lldb) target modules dump symfile
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@137732 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Symbol/Function.cpp b/source/Symbol/Function.cpp
index ca14997..fd4e15f 100644
--- a/source/Symbol/Function.cpp
+++ b/source/Symbol/Function.cpp
@@ -361,16 +361,14 @@
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