diff options
| author | Greg Clayton <gclayton@apple.com> | 2011-08-16 18:19:31 +0000 |
|---|---|---|
| committer | Greg Clayton <gclayton@apple.com> | 2011-08-16 18:19:31 +0000 |
| commit | cbc9eb45ab1ff3cb174226ce68145d40bdb5a496 (patch) | |
| tree | 6703e5efbba3166615c38b76851c59433a906887 /lldb/source/Symbol/Function.cpp | |
| parent | efe9a42379080208ff89b6af5073692c665d860a (diff) | |
| download | bcm5719-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.cpp | 10 |
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 |

