|
LLDB mainline
|
#include <Target.h>
Static Public Attributes | |
| static constexpr std::chrono::milliseconds | default_timeout {500} |
| static constexpr ExecutionPolicy | default_execution_policy |
Private Member Functions | |
| const StructuredData::Dictionary & | GetLanguageOptions () const |
| StructuredData::Dictionary & | GetLanguageOptions () |
| EvaluateExpressionOptions::EvaluateExpressionOptions | ( | ) |
Definition at line 5428 of file Target.cpp.
References m_language_options_sp, and SetCppIgnoreContextQualifiers().
|
inline |
Definition at line 356 of file Target.h.
References m_coerce_to_id.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 375 of file Target.h.
References m_ignore_breakpoints.
Referenced by lldb_private::LLVMUserExpression::DoExecute(), HandleStoppedEvent(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 381 of file Target.h.
References m_keep_in_memory.
|
inline |
Definition at line 371 of file Target.h.
References m_unwind_on_error.
Referenced by lldb_private::LLVMUserExpression::DoExecute(), HandleStoppedEvent(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 473 of file Target.h.
References m_auto_apply_fixits.
Referenced by lldb_private::UserExpression::Evaluate().
| llvm::Expected< bool > EvaluateExpressionOptions::GetBooleanLanguageOption | ( | llvm::StringRef | option_name | ) | const |
Get the language-plugin specific boolean option called option_name.
If the option doesn't exist or is not a boolean option, returns false. Otherwise returns the boolean value of the option.
Definition at line 5395 of file Target.cpp.
References GetLanguageOptions(), lldb_private::StructuredData::Dictionary::GetValueForKeyAsBoolean(), and lldb_private::StructuredData::Dictionary::HasKey().
Referenced by GetCppIgnoreContextQualifiers().
|
inline |
Definition at line 424 of file Target.h.
References m_ansi_color_errors.
| bool EvaluateExpressionOptions::GetCppIgnoreContextQualifiers | ( | ) | const |
Definition at line 5438 of file Target.cpp.
References GetBooleanLanguageOption(), and s_cpp_ignore_context_qualifiers_option.
|
inline |
Definition at line 412 of file Target.h.
References m_debug.
Referenced by lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 329 of file Target.h.
References m_execution_policy.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 420 of file Target.h.
References m_generate_debug_info.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 335 of file Target.h.
References m_language.
Referenced by lldb_private::UserExpression::Evaluate().
|
private |
Definition at line 5417 of file Target.cpp.
References m_language_options_sp.
|
private |
Definition at line 5411 of file Target.cpp.
References m_language_options_sp.
Referenced by GetBooleanLanguageOption(), and SetBooleanLanguageOption().
|
inline |
Definition at line 396 of file Target.h.
References m_one_thread_timeout.
Referenced by GetOneThreadExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 459 of file Target.h.
References m_pound_line_file.
|
inline |
Definition at line 463 of file Target.h.
References m_pound_line_line.
|
inline |
Definition at line 345 of file Target.h.
References m_preferred_lookup_contexts.
|
inline |
Definition at line 358 of file Target.h.
References m_prefix.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
|
inline |
Definition at line 479 of file Target.h.
References m_retries_with_fixits.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 408 of file Target.h.
References m_stop_others.
Referenced by GetExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 467 of file Target.h.
References m_suppress_persistent_result.
Referenced by lldb_private::UserExpression::Execute().
|
inline |
Definition at line 392 of file Target.h.
References m_timeout.
Referenced by lldb_private::LLVMUserExpression::DoExecute(), GetExpressionTimeout(), GetOneThreadExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 428 of file Target.h.
References m_trap_exceptions.
|
inline |
Definition at line 404 of file Target.h.
References m_try_others.
Referenced by GetExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 385 of file Target.h.
References m_use_dynamic.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
|
inline |
Definition at line 441 of file Target.h.
References m_cancel_callback, and m_cancel_callback_baton.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 481 of file Target.h.
References m_running_utility_expression.
Referenced by lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 471 of file Target.h.
References m_auto_apply_fixits.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
| llvm::Error EvaluateExpressionOptions::SetBooleanLanguageOption | ( | llvm::StringRef | option_name, |
| bool | value ) |
Set language-plugin specific option called option_name to the specified boolean value.
Definition at line 5378 of file Target.cpp.
References lldb::eStructuredDataTypeBoolean, and GetLanguageOptions().
Referenced by SetCppIgnoreContextQualifiers().
|
inline |
Definition at line 436 of file Target.h.
References m_cancel_callback, and m_cancel_callback_baton.
|
inline |
Definition at line 369 of file Target.h.
References m_coerce_to_id.
Referenced by lldb_private::OptionArgParser::DoToAddress(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::REPL::IOHandlerInputComplete(), and lldb_private::CommandInterpreter::PreprocessToken().
|
inline |
Definition at line 426 of file Target.h.
References m_ansi_color_errors.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
| void EvaluateExpressionOptions::SetCppIgnoreContextQualifiers | ( | bool | value | ) |
Definition at line 5433 of file Target.cpp.
References s_cpp_ignore_context_qualifiers_option, and SetBooleanLanguageOption().
Referenced by EvaluateExpressionOptions(), and lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
inline |
Definition at line 414 of file Target.h.
References m_debug, and m_generate_debug_info.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::FunctionCaller::ExecuteFunction(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::InferiorCallMmap(), and lldb_private::InferiorCallMunmap().
|
inline |
Definition at line 331 of file Target.h.
References lldb_private::eExecutionPolicyAlways, and m_execution_policy.
Referenced by lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), and lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
inline |
Definition at line 422 of file Target.h.
References m_generate_debug_info.
Referenced by lldb_private::FunctionCaller::ExecuteFunction(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), and lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 377 of file Target.h.
References m_ignore_breakpoints.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::FunctionCaller::ExecuteFunction(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::ItaniumABIRuntime::GetExceptionObjectForThread(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::InitializeFunctionCaller(), lldb_private::StopInfoWatchpoint::PerformAction(), lldb_private::CommandInterpreter::PreprocessToken(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 483 of file Target.h.
References m_running_utility_expression.
Referenced by lldb_private::PlatformWindows::DoLoadImage(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), and lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo().
|
inline |
Definition at line 383 of file Target.h.
References m_keep_in_memory.
Referenced by lldb::SBValue::CreateValueFromExpression(), lldb_private::OptionArgParser::DoToAddress(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::REPL::IOHandlerInputComplete(), and lldb_private::CommandInterpreter::PreprocessToken().
|
inline |
Definition at line 337 of file Target.h.
References m_language.
Referenced by lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::REPL::IOHandlerInputComplete(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Set the language using a pair of language code and version as defined by the DWARF 6 specification.
WARNING: These codes may change until DWARF 6 is finalized.
Definition at line 352 of file Target.h.
References m_language.
|
inline |
Definition at line 400 of file Target.h.
References m_one_thread_timeout.
|
inline |
Definition at line 449 of file Target.h.
References m_pound_line_file, and m_pound_line_line.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 341 of file Target.h.
References m_preferred_lookup_contexts.
Referenced by lldb_private::MemoryHistoryASan::GetHistoryThreads(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 362 of file Target.h.
References m_prefix.
Referenced by lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 434 of file Target.h.
References m_repl.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 475 of file Target.h.
References m_retries_with_fixits.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
inline |
Definition at line 410 of file Target.h.
References m_stop_others.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::ItaniumABIRuntime::GetExceptionObjectForThread(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::InitializeFunctionCaller(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 465 of file Target.h.
References m_suppress_persistent_result.
Referenced by lldb_private::BreakpointLocation::ConditionSaysStop(), and lldb_private::CommandObjectDWIMPrint::DoExecute().
|
inline |
Definition at line 394 of file Target.h.
References m_timeout.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::ItaniumABIRuntime::GetExceptionObjectForThread(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), lldb_private::CommandInterpreter::PreprocessToken(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 430 of file Target.h.
References m_trap_exceptions.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::PlatformWindows::DoLoadImage(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::InferiorCallMmap(), and lldb_private::InferiorCallMunmap().
|
inline |
Definition at line 406 of file Target.h.
References m_try_others.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::BreakpointLocation::ConditionSaysStop(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::OptionArgParser::DoToAddress(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::ItaniumABIRuntime::GetExceptionObjectForThread(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), lldb_private::CommandInterpreter::PreprocessToken(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 373 of file Target.h.
References m_unwind_on_error.
Referenced by lldb_private::Process::CallVoidArgVoidPtrReturn(), lldb_private::BreakpointLocation::ConditionSaysStop(), CommandObjectThreadReturn::DoExecute(), lldb_private::CommandObjectExpression::DoExecute(), lldb_private::PlatformWindows::DoLoadImage(), lldb_private::OptionArgParser::DoToAddress(), PlatformPOSIX::EvaluateLibdlExpression(), lldb_private::FunctionCaller::ExecuteFunction(), lldb_private::AppleGetQueuesHandler::GetCurrentQueues(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::ItaniumABIRuntime::GetExceptionObjectForThread(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::AppleGetItemInfoHandler::GetItemInfo(), lldb_private::AppleObjCRuntime::GetObjectDescription(), lldb_private::AppleGetPendingItemsHandler::GetPendingItems(), lldb_private::AppleGetThreadItemInfoHandler::GetThreadItemInfo(), lldb_private::InferiorCallMmap(), lldb_private::InferiorCallMunmap(), lldb_private::AppleThreadPlanStepThroughObjCTrampoline::InitializeFunctionCaller(), lldb_private::StopInfoWatchpoint::PerformAction(), lldb_private::CommandInterpreter::PreprocessToken(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::ReportRetriever::RetrieveReportData().
|
inline |
Definition at line 388 of file Target.h.
References lldb::eDynamicCanRunTarget, and m_use_dynamic.
Referenced by CommandObjectThreadReturn::DoExecute(), lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), and lldb_private::REPL::IOHandlerInputComplete().
|
staticconstexpr |
Definition at line 326 of file Target.h.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
staticconstexpr |
|
private |
Definition at line 518 of file Target.h.
Referenced by GetColorizeErrors(), and SetColorizeErrors().
|
private |
Definition at line 520 of file Target.h.
Referenced by GetAutoApplyFixIts(), and SetAutoApplyFixIts().
|
private |
Definition at line 529 of file Target.h.
Referenced by InvokeCancelCallback(), and SetCancelCallback().
|
private |
Definition at line 530 of file Target.h.
Referenced by InvokeCancelCallback(), and SetCancelCallback().
|
private |
Definition at line 508 of file Target.h.
Referenced by DoesCoerceToId(), and SetCoerceToId().
|
private |
Definition at line 514 of file Target.h.
Referenced by GetDebug(), and SetDebug().
|
private |
Definition at line 505 of file Target.h.
Referenced by GetExecutionPolicy(), and SetExecutionPolicy().
|
private |
Definition at line 517 of file Target.h.
Referenced by GetGenerateDebugInfo(), SetDebug(), and SetGenerateDebugInfo().
|
private |
Definition at line 510 of file Target.h.
Referenced by DoesIgnoreBreakpoints(), and SetIgnoreBreakpoints().
|
private |
Definition at line 511 of file Target.h.
Referenced by DoesKeepInMemory(), and SetKeepInMemory().
|
private |
Definition at line 506 of file Target.h.
Referenced by GetLanguage(), SetLanguage(), and SetLanguage().
|
private |
Dictionary mapping names of language-plugin specific options to values.
Definition at line 539 of file Target.h.
Referenced by EvaluateExpressionOptions(), GetLanguageOptions(), and GetLanguageOptions().
|
private |
Definition at line 528 of file Target.h.
Referenced by GetOneThreadTimeout(), and SetOneThreadTimeout().
|
mutableprivate |
Definition at line 534 of file Target.h.
Referenced by GetPoundLineFilePath(), and SetPoundLine().
|
mutableprivate |
Definition at line 535 of file Target.h.
Referenced by GetPoundLineLine(), and SetPoundLine().
|
private |
During expression evaluation, any SymbolContext in this list will be used for symbol/function lookup before any other context (except for the module corresponding to the current frame).
Definition at line 544 of file Target.h.
Referenced by GetPreferredSymbolContexts(), and SetPreferredSymbolContexts().
|
private |
Definition at line 507 of file Target.h.
Referenced by GetPrefix(), and SetPrefix().
|
private |
Definition at line 516 of file Target.h.
Referenced by GetREPLEnabled(), and SetREPLEnabled().
|
private |
Definition at line 521 of file Target.h.
Referenced by GetRetriesWithFixIts(), and SetRetriesWithFixIts().
|
private |
True if the executed code should be treated as utility code that is only used by LLDB internally.
Definition at line 524 of file Target.h.
Referenced by IsForUtilityExpr(), and SetIsForUtilityExpr().
|
private |
Definition at line 513 of file Target.h.
Referenced by GetStopOthers(), and SetStopOthers().
|
private |
Definition at line 519 of file Target.h.
Referenced by GetSuppressPersistentResult(), and SetSuppressPersistentResult().
|
private |
Definition at line 527 of file Target.h.
Referenced by GetTimeout(), and SetTimeout().
|
private |
Definition at line 515 of file Target.h.
Referenced by GetTrapExceptions(), and SetTrapExceptions().
|
private |
Definition at line 512 of file Target.h.
Referenced by GetTryAllThreads(), and SetTryAllThreads().
|
private |
Definition at line 509 of file Target.h.
Referenced by DoesUnwindOnError(), and SetUnwindOnError().
|
private |
Definition at line 526 of file Target.h.
Referenced by GetUseDynamic(), and SetUseDynamic().