LLDB mainline
|
#include <CommandObjectExpression.h>
Public Member Functions | |
CommandOptions () | |
~CommandOptions () override | |
llvm::ArrayRef< OptionDefinition > | GetDefinitions () override |
Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context) override |
void | OptionParsingStarting (ExecutionContext *execution_context) override |
EvaluateExpressionOptions | GetEvaluateExpressionOptions (const Target &target, const OptionGroupValueObjectDisplay &display_opts) |
Return the appropriate expression options used for evaluating the expression in the given target. | |
bool | ShouldSuppressResult (const OptionGroupValueObjectDisplay &display_opts) const |
Public Member Functions inherited from lldb_private::OptionGroup | |
OptionGroup ()=default | |
virtual | ~OptionGroup ()=default |
virtual llvm::ArrayRef< OptionDefinition > | GetDefinitions ()=0 |
virtual Status | SetOptionValue (uint32_t option_idx, llvm::StringRef option_value, ExecutionContext *execution_context)=0 |
virtual void | OptionParsingStarting (ExecutionContext *execution_context)=0 |
virtual Status | OptionParsingFinished (ExecutionContext *execution_context) |
Public Attributes | |
bool | top_level |
bool | unwind_on_error |
bool | ignore_breakpoints |
bool | allow_jit |
bool | show_types |
bool | show_summary |
bool | debug |
uint32_t | timeout |
bool | try_all_threads |
lldb::LanguageType | language |
LanguageRuntimeDescriptionDisplayVerbosity | m_verbosity |
LazyBool | auto_apply_fixits |
LazyBool | suppress_persistent_result |
Definition at line 25 of file CommandObjectExpression.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 196 of file CommandObjectExpression.cpp.
Referenced by SetOptionValue().
EvaluateExpressionOptions CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions | ( | const Target & | target, |
const OptionGroupValueObjectDisplay & | display_opts | ||
) |
Return the appropriate expression options used for evaluating the expression in the given target.
Definition at line 201 of file CommandObjectExpression.cpp.
References lldb_private::EvaluateExpressionOptions::default_execution_policy, lldb_private::eExecutionPolicyNever, lldb_private::eExecutionPolicyTopLevel, lldb_private::eLazyBoolCalculate, lldb_private::eLazyBoolYes, lldb_private::TargetProperties::GetEnableAutoApplyFixIts(), lldb_private::TargetProperties::GetNumberOfRetriesWithFixits(), lldb_private::EvaluateExpressionOptions::SetAutoApplyFixIts(), lldb_private::EvaluateExpressionOptions::SetCoerceToId(), lldb_private::EvaluateExpressionOptions::SetDebug(), lldb_private::EvaluateExpressionOptions::SetExecutionPolicy(), lldb_private::EvaluateExpressionOptions::SetGenerateDebugInfo(), lldb_private::EvaluateExpressionOptions::SetIgnoreBreakpoints(), lldb_private::EvaluateExpressionOptions::SetKeepInMemory(), lldb_private::EvaluateExpressionOptions::SetLanguage(), lldb_private::EvaluateExpressionOptions::SetRetriesWithFixIts(), lldb_private::EvaluateExpressionOptions::SetTimeout(), lldb_private::EvaluateExpressionOptions::SetTryAllThreads(), lldb_private::EvaluateExpressionOptions::SetUnwindOnError(), lldb_private::EvaluateExpressionOptions::SetUseDynamic(), lldb_private::OptionGroupValueObjectDisplay::use_dynamic, and lldb_private::OptionGroupValueObjectDisplay::use_objc.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 171 of file CommandObjectExpression.cpp.
References lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact, lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolCalculate, and lldb_private::ExecutionContext::GetProcessSP().
Referenced by lldb_private::CommandObjectExpression::DoExecute().
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 38 of file CommandObjectExpression.cpp.
References allow_jit, auto_apply_fixits, debug, lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityFull, lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolNo, lldb_private::eLazyBoolYes, error(), GetDefinitions(), lldb_private::Language::GetLanguageTypeFromString(), lldb_private::StreamString::GetString(), ignore_breakpoints, language, m_verbosity, lldb_private::Stream::Printf(), lldb_private::Language::PrintSupportedLanguagesForExpressions(), suppress_persistent_result, timeout, lldb_private::OptionArgParser::ToBoolean(), lldb_private::OptionArgParser::ToOptionEnum(), top_level, try_all_threads, and unwind_on_error.
bool CommandObjectExpression::CommandOptions::ShouldSuppressResult | ( | const OptionGroupValueObjectDisplay & | display_opts | ) | const |
Definition at line 240 of file CommandObjectExpression.cpp.
References lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact, lldb_private::eLazyBoolCalculate, lldb_private::eLazyBoolYes, and lldb_private::OptionGroupValueObjectDisplay::use_objc.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
bool lldb_private::CommandObjectExpression::CommandOptions::allow_jit |
Definition at line 50 of file CommandObjectExpression.h.
Referenced by SetOptionValue().
LazyBool lldb_private::CommandObjectExpression::CommandOptions::auto_apply_fixits |
Definition at line 58 of file CommandObjectExpression.h.
Referenced by SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::debug |
Definition at line 53 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), and SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::ignore_breakpoints |
Definition at line 49 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), and SetOptionValue().
lldb::LanguageType lldb_private::CommandObjectExpression::CommandOptions::language |
Definition at line 56 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute(), and SetOptionValue().
LanguageRuntimeDescriptionDisplayVerbosity lldb_private::CommandObjectExpression::CommandOptions::m_verbosity |
Definition at line 57 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute(), and SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::show_summary |
Definition at line 52 of file CommandObjectExpression.h.
bool lldb_private::CommandObjectExpression::CommandOptions::show_types |
Definition at line 51 of file CommandObjectExpression.h.
LazyBool lldb_private::CommandObjectExpression::CommandOptions::suppress_persistent_result |
Definition at line 59 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute(), and SetOptionValue().
uint32_t lldb_private::CommandObjectExpression::CommandOptions::timeout |
Definition at line 54 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), and SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::top_level |
Definition at line 47 of file CommandObjectExpression.h.
Referenced by SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::try_all_threads |
Definition at line 55 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), and SetOptionValue().
bool lldb_private::CommandObjectExpression::CommandOptions::unwind_on_error |
Definition at line 48 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), and SetOptionValue().