diff options
Diffstat (limited to 'include/lldb/Symbol/Symbol.h')
-rw-r--r-- | include/lldb/Symbol/Symbol.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/include/lldb/Symbol/Symbol.h b/include/lldb/Symbol/Symbol.h index ad11563634ea..f9438b006c4e 100644 --- a/include/lldb/Symbol/Symbol.h +++ b/include/lldb/Symbol/Symbol.h @@ -152,18 +152,28 @@ public: lldb::addr_t ResolveCallableAddress(Target &target) const; - const ConstString & - GetName () const - { - return m_mangled.GetName(); - } + ConstString + GetName () const; + + ConstString + GetNameNoArguments () const; + ConstString + GetDisplayName () const; + uint32_t GetID() const { return m_uid; } + lldb::LanguageType + GetLanguage() const + { + // TODO: See if there is a way to determine the language for a symbol somehow, for now just return our best guess + return m_mangled.GuessLanguage(); + } + void SetID(uint32_t uid) { |