forked from OSchip/llvm-project
Enable the ability to enable debug info generation when evaluating expressions.
llvm-svn: 212792
This commit is contained in:
parent
fb9756131e
commit
205ca1e89f
|
@ -93,6 +93,12 @@ public:
|
|||
void
|
||||
SetCancelCallback (lldb::ExpressionCancelCallback callback, void *baton);
|
||||
|
||||
bool
|
||||
GetGenerateDebugInfo ();
|
||||
|
||||
void
|
||||
SetGenerateDebugInfo (bool b = true);
|
||||
|
||||
protected:
|
||||
|
||||
SBExpressionOptions (lldb_private::EvaluateExpressionOptions &expression_options);
|
||||
|
|
|
@ -95,7 +95,14 @@ public:
|
|||
%feature ("docstring", "Sets the language that LLDB should assume the expression is written in") SetLanguage;
|
||||
void
|
||||
SetLanguage (lldb::LanguageType language);
|
||||
|
||||
|
||||
bool
|
||||
GetGenerateDebugInfo ();
|
||||
|
||||
%feature("docstring", "Sets whether to generate debug information for the expression and also controls if a SBModule is generated.") SetGenerateDebugInfo;
|
||||
void
|
||||
SetGenerateDebugInfo (bool b = true);
|
||||
|
||||
protected:
|
||||
|
||||
SBExpressionOptions (lldb_private::EvaluateExpressionOptions &expression_options);
|
||||
|
|
|
@ -161,6 +161,18 @@ SBExpressionOptions::SetCancelCallback (lldb::ExpressionCancelCallback callback,
|
|||
m_opaque_ap->SetCancelCallback (callback, baton);
|
||||
}
|
||||
|
||||
bool
|
||||
SBExpressionOptions::GetGenerateDebugInfo ()
|
||||
{
|
||||
return m_opaque_ap->GetGenerateDebugInfo();
|
||||
}
|
||||
|
||||
void
|
||||
SBExpressionOptions::SetGenerateDebugInfo (bool b)
|
||||
{
|
||||
return m_opaque_ap->SetGenerateDebugInfo(b);
|
||||
}
|
||||
|
||||
EvaluateExpressionOptions *
|
||||
SBExpressionOptions::get() const
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue