From 205ca1e89f74c61e3c6f272625c9001bcb81d770 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 11 Jul 2014 01:03:57 +0000 Subject: Enable the ability to enable debug info generation when evaluating expressions. llvm-svn: 212792 --- lldb/scripts/Python/interface/SBExpressionOptions.i | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lldb/scripts/Python/interface') 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); -- cgit v1.2.3