summaryrefslogtreecommitdiffstats
path: root/lldb/scripts/Python/interface
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2014-07-11 01:03:57 +0000
committerGreg Clayton <gclayton@apple.com>2014-07-11 01:03:57 +0000
commit205ca1e89f74c61e3c6f272625c9001bcb81d770 (patch)
tree37fdc753fa59eaefad29981998c53a20590ded25 /lldb/scripts/Python/interface
parentfb9756131e84cdab56f411d25700a01888925bad (diff)
downloadbcm5719-llvm-205ca1e89f74c61e3c6f272625c9001bcb81d770.tar.gz
bcm5719-llvm-205ca1e89f74c61e3c6f272625c9001bcb81d770.zip
Enable the ability to enable debug info generation when evaluating expressions.
llvm-svn: 212792
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r--lldb/scripts/Python/interface/SBExpressionOptions.i9
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);
OpenPOWER on IntegriCloud