forked from OSchip/llvm-project
Add const versions of SBFrame::GetFunctionName and SBFrame::IsInlined.
http://reviews.llvm.org/D10711 llvm-svn: 240660
This commit is contained in:
parent
5fbe3ccb49
commit
05f75e9ffb
|
@ -91,12 +91,18 @@ public:
|
|||
const char *
|
||||
GetFunctionName();
|
||||
|
||||
const char *
|
||||
GetFunctionName() const;
|
||||
|
||||
/// Return true if this frame represents an inlined function.
|
||||
///
|
||||
/// See also GetFunctionName().
|
||||
bool
|
||||
IsInlined();
|
||||
|
||||
|
||||
bool
|
||||
IsInlined() const;
|
||||
|
||||
/// The version that doesn't supply a 'use_dynamic' value will use the
|
||||
/// target's default.
|
||||
lldb::SBValue
|
||||
|
|
|
@ -128,6 +128,9 @@ public:
|
|||
const char *
|
||||
GetFunctionName();
|
||||
|
||||
const char *
|
||||
GetFunctionName() const;
|
||||
|
||||
%feature("docstring", "
|
||||
/// Return true if this frame represents an inlined function.
|
||||
///
|
||||
|
@ -135,7 +138,10 @@ public:
|
|||
") IsInlined;
|
||||
bool
|
||||
IsInlined();
|
||||
|
||||
|
||||
bool
|
||||
IsInlined() const;
|
||||
|
||||
%feature("docstring", "
|
||||
/// The version that doesn't supply a 'use_dynamic' value will use the
|
||||
/// target's default.
|
||||
|
|
|
@ -1500,6 +1500,12 @@ SBFrame::EvaluateExpression (const char *expr, const SBExpressionOptions &option
|
|||
|
||||
bool
|
||||
SBFrame::IsInlined()
|
||||
{
|
||||
return static_cast<const SBFrame*>(this)->IsInlined();
|
||||
}
|
||||
|
||||
bool
|
||||
SBFrame::IsInlined() const
|
||||
{
|
||||
Log *log(GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
|
||||
ExecutionContext exe_ctx(m_opaque_sp.get());
|
||||
|
@ -1537,6 +1543,12 @@ SBFrame::IsInlined()
|
|||
|
||||
const char *
|
||||
SBFrame::GetFunctionName()
|
||||
{
|
||||
return static_cast<const SBFrame*>(this)->GetFunctionName();
|
||||
}
|
||||
|
||||
const char *
|
||||
SBFrame::GetFunctionName() const
|
||||
{
|
||||
Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_API));
|
||||
const char *name = NULL;
|
||||
|
@ -1590,4 +1602,3 @@ SBFrame::GetFunctionName()
|
|||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue