diff options
author | Greg Clayton <gclayton@apple.com> | 2014-07-11 01:03:57 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2014-07-11 01:03:57 +0000 |
commit | 205ca1e89f74c61e3c6f272625c9001bcb81d770 (patch) | |
tree | 37fdc753fa59eaefad29981998c53a20590ded25 /lldb/scripts/Python/interface | |
parent | fb9756131e84cdab56f411d25700a01888925bad (diff) | |
download | llvm-205ca1e89f74c61e3c6f272625c9001bcb81d770.zip llvm-205ca1e89f74c61e3c6f272625c9001bcb81d770.tar.gz llvm-205ca1e89f74c61e3c6f272625c9001bcb81d770.tar.bz2 |
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.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 525b6a5..d172f35 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); |