|
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 6240 of file Target.cpp.
References m_language_options_sp, and SetCppIgnoreContextQualifiers().
|
inline |
Definition at line 393 of file Target.h.
References m_coerce_to_id.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 412 of file Target.h.
References m_ignore_breakpoints.
Referenced by lldb_private::LLVMUserExpression::DoExecute(), HandleStoppedEvent(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 418 of file Target.h.
References m_keep_in_memory.
|
inline |
Definition at line 408 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 514 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 6207 of file Target.cpp.
References GetLanguageOptions(), lldb_private::StructuredData::Dictionary::GetValueForKeyAsBoolean(), and lldb_private::StructuredData::Dictionary::HasKey().
Referenced by GetCppIgnoreContextQualifiers().
|
inline |
Definition at line 461 of file Target.h.
References m_ansi_color_errors.
| bool EvaluateExpressionOptions::GetCppIgnoreContextQualifiers | ( | ) | const |
Definition at line 6250 of file Target.cpp.
References GetBooleanLanguageOption(), and s_cpp_ignore_context_qualifiers_option.
|
inline |
Definition at line 449 of file Target.h.
References m_debug.
Referenced by lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 366 of file Target.h.
References m_execution_policy.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 457 of file Target.h.
References m_generate_debug_info.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 372 of file Target.h.
References m_language.
Referenced by lldb_private::UserExpression::Evaluate().
|
private |
Definition at line 6229 of file Target.cpp.
References m_language_options_sp.
|
private |
Definition at line 6223 of file Target.cpp.
References m_language_options_sp.
Referenced by GetBooleanLanguageOption(), and SetBooleanLanguageOption().
|
inline |
Definition at line 433 of file Target.h.
References m_one_thread_timeout.
Referenced by GetOneThreadExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 500 of file Target.h.
References m_pound_line_file.
|
inline |
Definition at line 504 of file Target.h.
References m_pound_line_line.
|
inline |
Definition at line 382 of file Target.h.
References m_preferred_lookup_contexts.
|
inline |
Definition at line 395 of file Target.h.
References m_prefix.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
|
inline |
Definition at line 520 of file Target.h.
References m_retries_with_fixits.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 469 of file Target.h.
References m_stop_on_fork.
Referenced by lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 445 of file Target.h.
References m_stop_others.
Referenced by GetExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 508 of file Target.h.
References m_suppress_persistent_result.
Referenced by lldb_private::UserExpression::Execute().
|
inline |
Definition at line 429 of file Target.h.
References m_timeout.
Referenced by lldb_private::LLVMUserExpression::DoExecute(), GetExpressionTimeout(), GetOneThreadExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 465 of file Target.h.
References m_trap_exceptions.
|
inline |
Definition at line 441 of file Target.h.
References m_try_others.
Referenced by GetExpressionTimeout(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 543 of file Target.h.
References m_try_DIL_first.
|
inline |
Definition at line 422 of file Target.h.
References m_use_dynamic.
Referenced by lldb_private::CommandObjectDWIMPrint::DoExecute().
|
inline |
Definition at line 482 of file Target.h.
References m_cancel_callback, and m_cancel_callback_baton.
Referenced by lldb_private::UserExpression::Evaluate().
|
inline |
Definition at line 522 of file Target.h.
References m_running_utility_expression.
Referenced by lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 512 of file Target.h.
References m_auto_apply_fixits.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions(), lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::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 6190 of file Target.cpp.
References lldb::eStructuredDataTypeBoolean, and GetLanguageOptions().
Referenced by SetCppIgnoreContextQualifiers().
|
inline |
Definition at line 477 of file Target.h.
References m_cancel_callback, and m_cancel_callback_baton.
|
inline |
Definition at line 406 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 463 of file Target.h.
References m_ansi_color_errors.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
| void EvaluateExpressionOptions::SetCppIgnoreContextQualifiers | ( | bool | value | ) |
Definition at line 6245 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 451 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 368 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 459 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 414 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData().
|
inline |
Definition at line 524 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 420 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 374 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::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 389 of file Target.h.
References m_language.
|
inline |
Definition at line 437 of file Target.h.
References m_one_thread_timeout.
Referenced by lldb_private::PlatformWindows::DoLoadImage().
|
inline |
Definition at line 490 of file Target.h.
References m_pound_line_file, and m_pound_line_line.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 378 of file Target.h.
References m_preferred_lookup_contexts.
Referenced by lldb_private::MemoryHistoryASan::GetHistoryThreads(), and lldb_private::InstrumentationRuntimeASan::RetrieveReportData().
|
inline |
Definition at line 399 of file Target.h.
References m_prefix.
Referenced by lldb_private::MemoryHistoryASan::GetHistoryThreads(), lldb_private::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData().
|
inline |
Definition at line 475 of file Target.h.
References m_repl.
Referenced by lldb_private::REPL::IOHandlerInputComplete().
|
inline |
Definition at line 516 of file Target.h.
References m_retries_with_fixits.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
inline |
Definition at line 471 of file Target.h.
References m_stop_on_fork.
|
inline |
Definition at line 447 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData().
|
inline |
Definition at line 506 of file Target.h.
References m_suppress_persistent_result.
Referenced by lldb_private::BreakpointLocation::ConditionSaysStop(), and lldb_private::CommandObjectDWIMPrint::DoExecute().
|
inline |
Definition at line 431 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData().
|
inline |
Definition at line 467 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 443 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData(), and lldb_private::Process::RunThreadPlan().
|
inline |
Definition at line 541 of file Target.h.
References m_try_DIL_first.
|
inline |
Definition at line 410 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::InstrumentationRuntimeASan::RetrieveReportData(), lldb_private::InstrumentationRuntimeTSan::RetrieveReportData(), and lldb_private::InstrumentationRuntimeUBSan::RetrieveReportData().
|
inline |
Definition at line 425 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 363 of file Target.h.
Referenced by lldb_private::CommandObjectExpression::CommandOptions::GetEvaluateExpressionOptions().
|
staticconstexpr |
|
private |
Definition at line 564 of file Target.h.
Referenced by GetColorizeErrors(), and SetColorizeErrors().
|
private |
Definition at line 566 of file Target.h.
Referenced by GetAutoApplyFixIts(), and SetAutoApplyFixIts().
|
private |
Definition at line 579 of file Target.h.
Referenced by InvokeCancelCallback(), and SetCancelCallback().
|
private |
Definition at line 580 of file Target.h.
Referenced by InvokeCancelCallback(), and SetCancelCallback().
|
private |
Definition at line 553 of file Target.h.
Referenced by DoesCoerceToId(), and SetCoerceToId().
|
private |
Definition at line 559 of file Target.h.
Referenced by GetDebug(), and SetDebug().
|
private |
Definition at line 550 of file Target.h.
Referenced by GetExecutionPolicy(), and SetExecutionPolicy().
|
private |
Definition at line 563 of file Target.h.
Referenced by GetGenerateDebugInfo(), SetDebug(), and SetGenerateDebugInfo().
|
private |
Definition at line 555 of file Target.h.
Referenced by DoesIgnoreBreakpoints(), and SetIgnoreBreakpoints().
|
private |
Definition at line 556 of file Target.h.
Referenced by DoesKeepInMemory(), and SetKeepInMemory().
|
private |
Definition at line 551 of file Target.h.
Referenced by GetLanguage(), SetLanguage(), and SetLanguage().
|
private |
Dictionary mapping names of language-plugin specific options to values.
Definition at line 589 of file Target.h.
Referenced by EvaluateExpressionOptions(), GetLanguageOptions(), and GetLanguageOptions().
|
private |
Definition at line 578 of file Target.h.
Referenced by GetOneThreadTimeout(), and SetOneThreadTimeout().
|
mutableprivate |
Definition at line 584 of file Target.h.
Referenced by GetPoundLineFilePath(), and SetPoundLine().
|
mutableprivate |
Definition at line 585 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 594 of file Target.h.
Referenced by GetPreferredSymbolContexts(), and SetPreferredSymbolContexts().
|
private |
Definition at line 552 of file Target.h.
Referenced by GetPrefix(), and SetPrefix().
|
private |
Definition at line 562 of file Target.h.
Referenced by GetREPLEnabled(), and SetREPLEnabled().
|
private |
Definition at line 567 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 570 of file Target.h.
Referenced by IsForUtilityExpr(), and SetIsForUtilityExpr().
|
private |
Definition at line 561 of file Target.h.
Referenced by GetStopOnFork(), and SetStopOnFork().
|
private |
Definition at line 558 of file Target.h.
Referenced by GetStopOthers(), and SetStopOthers().
|
private |
Definition at line 565 of file Target.h.
Referenced by GetSuppressPersistentResult(), and SetSuppressPersistentResult().
|
private |
Definition at line 577 of file Target.h.
Referenced by GetTimeout(), and SetTimeout().
|
private |
Definition at line 560 of file Target.h.
Referenced by GetTrapExceptions(), and SetTrapExceptions().
|
private |
If enabled, Data Inspection Language (DIL) should attempt to evaluate the expression first.
If DIL is not called or fails, the evaluation falls back to UserExpression.
Definition at line 574 of file Target.h.
Referenced by GetTryDILFirst(), and SetTryDILFirst().
|
private |
Definition at line 557 of file Target.h.
Referenced by GetTryAllThreads(), and SetTryAllThreads().
|
private |
Definition at line 554 of file Target.h.
Referenced by DoesUnwindOnError(), and SetUnwindOnError().
|
private |
Definition at line 576 of file Target.h.
Referenced by GetUseDynamic(), and SetUseDynamic().