diff options
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBExpressionOptions.i | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lldb/scripts/Python/interface/SBExpressionOptions.i b/lldb/scripts/Python/interface/SBExpressionOptions.i index 525b6a5ce79..d172f35c638 100644 --- a/lldb/scripts/Python/interface/SBExpressionOptions.i +++ b/lldb/scripts/Python/interface/SBExpressionOptions.i @@ -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); |