summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/Symbol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Symbol/Symbol.cpp')
-rw-r--r--lldb/source/Symbol/Symbol.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/lldb/source/Symbol/Symbol.cpp b/lldb/source/Symbol/Symbol.cpp
index 0f1b7ce2a16..db3ee78b7d5 100644
--- a/lldb/source/Symbol/Symbol.cpp
+++ b/lldb/source/Symbol/Symbol.cpp
@@ -183,7 +183,7 @@ Symbol::IsTrampoline () const
void
Symbol::GetDescription (Stream *s, lldb::DescriptionLevel level, Target *target) const
{
- *s << "id = " << (const UserID&)*this << ", name = \"" << m_mangled.GetName() << '"';
+ s->Printf("uid={%6u}", m_uid);
const Section *section = m_addr_range.GetBaseAddress().GetSection();
if (section != NULL)
@@ -211,6 +211,11 @@ Symbol::GetDescription (Stream *s, lldb::DescriptionLevel level, Target *target)
else
s->Printf (", value = 0x%16.16llx", m_addr_range.GetBaseAddress().GetOffset());
}
+ if (m_mangled.GetDemangledName())
+ s->Printf(", name=\"%s\"", m_mangled.GetDemangledName().AsCString());
+ if (m_mangled.GetMangledName())
+ s->Printf(", mangled=\"%s\"", m_mangled.GetMangledName().AsCString());
+
}
void
OpenPOWER on IntegriCloud