Fix GetDisplayName when only a demangled name is available
authorFrancis Ricci <francisjricci@gmail.com>
Thu, 6 Oct 2016 20:41:11 +0000 (20:41 +0000)
committerFrancis Ricci <francisjricci@gmail.com>
Thu, 6 Oct 2016 20:41:11 +0000 (20:41 +0000)
commit51019244abe20e51f4185c8d1e9f4b03e2ecde99
tree6fdc40ae409ba67d508002f93bc4d79cfb112e70
parent0e79f7d11d6a76c8509554bde344d0270fea814d
Fix GetDisplayName when only a demangled name is available

Summary:
GetDisplayDemangledName will already return a ConstString() when
there is neither a mangled name or a demangled name, so we don't need to special
case here. This will fix GetDisplayName in cases where m_mangled contains
only a demangled name and not a mangled name.

Reviewers: clayborg, granata.enrico, sas

Subscribers: lldb-commits

Differential Revision: https://reviews.llvm.org/D25201

llvm-svn: 283491
lldb/source/Symbol/Function.cpp
lldb/source/Symbol/Symbol.cpp