|
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 Status | OptionParsingFinished (ExecutionContext *execution_context) |
Definition at line 25 of file CommandObjectExpression.h.
|
default |
|
overridedefault |
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 197 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 202 of file CommandObjectExpression.cpp.
References allow_jit, auto_apply_fixits, debug, 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(), ignore_breakpoints, language, 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(), timeout, top_level, try_all_threads, unwind_on_error, lldb_private::OptionGroupValueObjectDisplay::use_dynamic, and lldb_private::OptionGroupValueObjectDisplay::use_object_desc.
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 172 of file CommandObjectExpression.cpp.
References allow_jit, auto_apply_fixits, debug, lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact, lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolCalculate, lldb_private::ExecutionContext::GetProcessSP(), ignore_breakpoints, language, m_verbosity, show_summary, suppress_persistent_result, timeout, top_level, try_all_threads, and unwind_on_error.
Referenced by lldb_private::CommandObjectExpression::DoExecute().
|
overridevirtual |
Implements lldb_private::OptionGroup.
Definition at line 39 of file CommandObjectExpression.cpp.
References allow_jit, auto_apply_fixits, debug, lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityFull, lldb::eLanguageTypeUnknown, lldb_private::eLazyBoolNo, lldb_private::eLazyBoolYes, error(), lldb_private::Status::FromErrorStringWithFormat(), GetDefinitions(), lldb_private::Language::GetLanguageTypeFromString(), lldb_private::StreamString::GetString(), ignore_breakpoints, language, m_verbosity, lldb_private::Stream::Printf(), lldb_private::Language::PrintSupportedLanguagesForExpressions(), lldb_private::Status, 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 241 of file CommandObjectExpression.cpp.
References lldb_private::eLanguageRuntimeDescriptionDisplayVerbosityCompact, lldb_private::eLazyBoolCalculate, lldb_private::eLazyBoolYes, m_verbosity, suppress_persistent_result, and lldb_private::OptionGroupValueObjectDisplay::use_object_desc.
| bool lldb_private::CommandObjectExpression::CommandOptions::allow_jit |
Definition at line 50 of file CommandObjectExpression.h.
Referenced by GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| LazyBool lldb_private::CommandObjectExpression::CommandOptions::auto_apply_fixits |
Definition at line 58 of file CommandObjectExpression.h.
Referenced by GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| bool lldb_private::CommandObjectExpression::CommandOptions::debug |
Definition at line 53 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| bool lldb_private::CommandObjectExpression::CommandOptions::ignore_breakpoints |
Definition at line 49 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| lldb::LanguageType lldb_private::CommandObjectExpression::CommandOptions::language |
Definition at line 56 of file CommandObjectExpression.h.
Referenced by GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| LanguageRuntimeDescriptionDisplayVerbosity lldb_private::CommandObjectExpression::CommandOptions::m_verbosity |
Definition at line 57 of file CommandObjectExpression.h.
Referenced by OptionParsingStarting(), SetOptionValue(), and ShouldSuppressResult().
| bool lldb_private::CommandObjectExpression::CommandOptions::show_summary |
Definition at line 52 of file CommandObjectExpression.h.
Referenced by OptionParsingStarting().
| 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 OptionParsingStarting(), SetOptionValue(), and ShouldSuppressResult().
| uint32_t lldb_private::CommandObjectExpression::CommandOptions::timeout |
Definition at line 54 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| bool lldb_private::CommandObjectExpression::CommandOptions::top_level |
Definition at line 47 of file CommandObjectExpression.h.
Referenced by GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| bool lldb_private::CommandObjectExpression::CommandOptions::try_all_threads |
Definition at line 55 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().
| bool lldb_private::CommandObjectExpression::CommandOptions::unwind_on_error |
Definition at line 48 of file CommandObjectExpression.h.
Referenced by lldb_private::CommandObjectExpression::DoExecute(), GetEvaluateExpressionOptions(), OptionParsingStarting(), and SetOptionValue().