aboutsummaryrefslogtreecommitdiff
path: root/include/lldb/Symbol/Function.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lldb/Symbol/Function.h')
-rw-r--r--include/lldb/Symbol/Function.h26
1 files changed, 17 insertions, 9 deletions
diff --git a/include/lldb/Symbol/Function.h b/include/lldb/Symbol/Function.h
index 5954cf520d70..30c8f168e5f1 100644
--- a/include/lldb/Symbol/Function.h
+++ b/include/lldb/Symbol/Function.h
@@ -123,7 +123,7 @@ public:
/// @return
/// A const reference to the method name object.
//------------------------------------------------------------------
- const ConstString&
+ ConstString
GetName () const;
//------------------------------------------------------------------
@@ -240,11 +240,14 @@ public:
Dump(Stream *s, bool show_fullpaths) const;
void
- DumpStopContext (Stream *s) const;
+ DumpStopContext (Stream *s, lldb::LanguageType language) const;
- const ConstString &
- GetName () const;
+ ConstString
+ GetName (lldb::LanguageType language) const;
+ ConstString
+ GetDisplayName (lldb::LanguageType language) const;
+
//------------------------------------------------------------------
/// Get accessor for the call site declaration information.
///
@@ -437,6 +440,8 @@ public:
return m_range;
}
+ lldb::LanguageType
+ GetLanguage() const;
//------------------------------------------------------------------
/// Find the file and line number of the source location of the start
/// of the function. This will use the declaration if present and fall
@@ -524,11 +529,14 @@ public:
return m_frame_base;
}
- const ConstString &
- GetName() const
- {
- return m_mangled.GetName();
- }
+ ConstString
+ GetName() const;
+
+ ConstString
+ GetNameNoArguments () const;
+
+ ConstString
+ GetDisplayName () const;
const Mangled &
GetMangled() const