/external/lldb/source/API/ |
D | SBThread.cpp | 110 ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); in GetStopReason() local 112 if (exe_ctx.HasThreadScope()) in GetStopReason() 115 if (stop_locker.TryLock(&exe_ctx.GetProcessPtr()->GetRunLock())) in GetStopReason() 117 return exe_ctx.GetThreadPtr()->GetStopReason(); in GetStopReason() 122 …log->Printf ("SBThread(%p)::GetStopReason() => error: process is running", exe_ctx.GetThreadPtr()); in GetStopReason() 127 log->Printf ("SBThread(%p)::GetStopReason () => %s", exe_ctx.GetThreadPtr(), in GetStopReason() 137 ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); in GetStopReasonDataCount() local 139 if (exe_ctx.HasThreadScope()) in GetStopReasonDataCount() 142 if (stop_locker.TryLock(&exe_ctx.GetProcessPtr()->GetRunLock())) in GetStopReasonDataCount() 144 StopInfoSP stop_info_sp = exe_ctx.GetThreadPtr()->GetStopInfo (); in GetStopReasonDataCount() [all …]
|
D | SBFrame.cpp | 115 ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); in GetSymbolContext() local 118 Target *target = exe_ctx.GetTargetPtr(); in GetSymbolContext() 119 Process *process = exe_ctx.GetProcessPtr(); in GetSymbolContext() 125 frame = exe_ctx.GetFramePtr(); in GetSymbolContext() 157 ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); in GetModule() local 160 Target *target = exe_ctx.GetTargetPtr(); in GetModule() 161 Process *process = exe_ctx.GetProcessPtr(); in GetModule() 167 frame = exe_ctx.GetFramePtr(); in GetModule() 199 ExecutionContext exe_ctx (m_opaque_sp.get(), api_locker); in GetCompileUnit() local 202 Target *target = exe_ctx.GetTargetPtr(); in GetCompileUnit() [all …]
|
D | SBInstruction.cpp | 78 ExecutionContext exe_ctx; in GetMnemonic() local 83 target_sp->CalculateExecutionContext (exe_ctx); in GetMnemonic() 84 exe_ctx.SetProcessSP(target_sp->GetProcessSP()); in GetMnemonic() 86 return m_opaque_sp->GetMnemonic(&exe_ctx); in GetMnemonic() 97 ExecutionContext exe_ctx; in GetOperands() local 102 target_sp->CalculateExecutionContext (exe_ctx); in GetOperands() 103 exe_ctx.SetProcessSP(target_sp->GetProcessSP()); in GetOperands() 105 return m_opaque_sp->GetOperands(&exe_ctx); in GetOperands() 116 ExecutionContext exe_ctx; in GetComment() local 121 target_sp->CalculateExecutionContext (exe_ctx); in GetComment() [all …]
|
/external/lldb/include/lldb/Interpreter/ |
D | OptionValueProperties.h | 66 DumpValue (const ExecutionContext *exe_ctx, 77 DumpPropertyValue (const ExecutionContext *exe_ctx, 123 GetProperty (const ExecutionContext *exe_ctx, 128 GetPropertyAtIndex (const ExecutionContext *exe_ctx, 136 GetPropertyAtPath (const ExecutionContext *exe_ctx, 141 GetPropertyValueAtIndex (const ExecutionContext *exe_ctx, 146 GetValueForKey (const ExecutionContext *exe_ctx, 151 GetSubValue (const ExecutionContext *exe_ctx, 157 SetSubValue (const ExecutionContext *exe_ctx, 163 PredicateMatches (const ExecutionContext *exe_ctx, in PredicateMatches() argument [all …]
|
/external/lldb/source/Interpreter/ |
D | OptionValueProperties.cpp | 117 OptionValueProperties::GetValueForKey (const ExecutionContext *exe_ctx, in GetValueForKey() argument 124 value_sp = GetPropertyAtIndex(exe_ctx, will_modify, idx)->GetValue(); in GetValueForKey() 129 OptionValueProperties::GetSubValue (const ExecutionContext *exe_ctx, in GetSubValue() argument 150 value_sp = GetValueForKey (exe_ctx, key, will_modify); in GetSubValue() 156 return value_sp->GetSubValue (exe_ctx, sub_name + 1, will_modify, error); in GetSubValue() 174 if (PredicateMatches(exe_ctx, predicate.c_str())) in GetSubValue() 179 … return value_sp->GetSubValue (exe_ctx, predicate_end + 1, will_modify, error); in GetSubValue() 197 return value_sp->GetSubValue (exe_ctx, sub_name, will_modify, error); in GetSubValue() 209 OptionValueProperties::SetSubValue (const ExecutionContext *exe_ctx, in SetSubValue() argument 216 lldb::OptionValueSP value_sp (GetSubValue (exe_ctx, name, will_modify, error)); in SetSubValue() [all …]
|
/external/lldb/source/Expression/ |
D | ClangFunction.cpp | 245 ClangFunction::WriteFunctionWrapper (ExecutionContext &exe_ctx, Stream &errors) in WriteFunctionWrapper() argument 247 Process *process = exe_ctx.GetProcessPtr(); in WriteFunctionWrapper() 268 exe_ctx, in WriteFunctionWrapper() 284 ClangFunction::WriteFunctionArguments (ExecutionContext &exe_ctx, lldb::addr_t &args_addr_ref, Stre… in WriteFunctionArguments() argument 286 … return WriteFunctionArguments(exe_ctx, args_addr_ref, m_function_addr, m_arg_values, errors); in WriteFunctionArguments() 292 ClangFunction::WriteFunctionArguments (ExecutionContext &exe_ctx, in WriteFunctionArguments() argument 310 Process *process = exe_ctx.GetProcessPtr(); in WriteFunctionArguments() 337 Scalar fun_addr (function_address.GetCallableLoadAddress(exe_ctx.GetTargetPtr())); in WriteFunctionArguments() 368 const Scalar &arg_scalar = arg_value->ResolveValue(&exe_ctx); in WriteFunctionArguments() 378 ClangFunction::InsertFunction (ExecutionContext &exe_ctx, lldb::addr_t &args_addr_ref, Stream &erro… in InsertFunction() argument [all …]
|
D | ClangUserExpression.cpp | 112 ClangUserExpression::ScanContext(ExecutionContext &exe_ctx, Error &err) in ScanContext() argument 119 m_target = exe_ctx.GetTargetPtr(); in ScanContext() 128 StackFrame *frame = exe_ctx.GetFramePtr(); in ScanContext() 334 ClangUserExpression::InstallContext (ExecutionContext &exe_ctx) in InstallContext() argument 336 m_process_wp = exe_ctx.GetProcessSP(); in InstallContext() 338 lldb::StackFrameSP frame_sp = exe_ctx.GetFrameSP(); in InstallContext() 345 ClangUserExpression::LockAndCheckContext (ExecutionContext &exe_ctx, in LockAndCheckContext() argument 351 process_sp = exe_ctx.GetProcessSP(); in LockAndCheckContext() 356 process_sp = exe_ctx.GetProcessSP(); in LockAndCheckContext() 357 target_sp = exe_ctx.GetTargetSP(); in LockAndCheckContext() [all …]
|
D | DWARFExpression.cpp | 1207 ExecutionContext exe_ctx (exe_scope); in Evaluate() local 1208 …return Evaluate(&exe_ctx, expr_locals, decl_map, NULL, loclist_base_load_addr, initial_value_ptr, … in Evaluate() 1214 ExecutionContext *exe_ctx, in Evaluate() argument 1233 frame = exe_ctx->GetFramePtr(); in Evaluate() 1271 …return DWARFExpression::Evaluate (exe_ctx, expr_locals, decl_map, reg_ctx, m_data, offset, length,… in Evaluate() 1283 …return DWARFExpression::Evaluate (exe_ctx, expr_locals, decl_map, reg_ctx, m_data, 0, m_data.GetBy… in Evaluate() 1291 ExecutionContext *exe_ctx, in Evaluate() argument 1316 if (exe_ctx) in Evaluate() 1318 process = exe_ctx->GetProcessPtr(); in Evaluate() 1319 frame = exe_ctx->GetFramePtr(); in Evaluate() [all …]
|
D | ClangUtilityFunction.cpp | 70 ExecutionContext &exe_ctx) in Install() argument 82 Target *target = exe_ctx.GetTargetPtr(); in Install() 90 Process *process = exe_ctx.GetProcessPtr(); in Install() 104 m_expr_decl_map.reset(new ClangExpressionDeclMap(keep_result_in_memory, exe_ctx)); in Install() 106 if (!m_expr_decl_map->WillParse(exe_ctx, NULL)) in Install() 112 ClangExpressionParser parser(exe_ctx.GetBestExecutionContextScope(), *this); in Install() 134 exe_ctx, in Install()
|
/external/lldb/include/lldb/Core/ |
D | Disassembler.h | 46 GetMnemonic (const ExecutionContext* exe_ctx) in GetMnemonic() argument 48 CalculateMnemonicOperandsAndCommentIfNeeded (exe_ctx); in GetMnemonic() 52 GetOperands (const ExecutionContext* exe_ctx) in GetOperands() argument 54 CalculateMnemonicOperandsAndCommentIfNeeded (exe_ctx); in GetOperands() 59 GetComment (const ExecutionContext* exe_ctx) in GetComment() argument 61 CalculateMnemonicOperandsAndCommentIfNeeded (exe_ctx); in GetComment() 66 CalculateMnemonicOperandsAndComment (const ExecutionContext* exe_ctx) = 0; 85 const ExecutionContext* exe_ctx); 146 CalculateMnemonicOperandsAndCommentIfNeeded (const ExecutionContext* exe_ctx) in CalculateMnemonicOperandsAndCommentIfNeeded() argument 151 CalculateMnemonicOperandsAndComment(exe_ctx); in CalculateMnemonicOperandsAndCommentIfNeeded() [all …]
|
D | UserSettingsController.h | 59 GetPropertyValue (const ExecutionContext *exe_ctx, 65 SetPropertyValue (const ExecutionContext *exe_ctx, 71 DumpPropertyValue (const ExecutionContext *exe_ctx, 77 DumpAllPropertyValues (const ExecutionContext *exe_ctx, 90 GetSubProperty (const ExecutionContext *exe_ctx,
|
/external/lldb/include/lldb/Expression/ |
D | ClangFunction.h | 156 InsertFunction (ExecutionContext &exe_ctx, 173 bool WriteFunctionWrapper (ExecutionContext &exe_ctx, 194 bool WriteFunctionArguments (ExecutionContext &exe_ctx, 223 bool WriteFunctionArguments (ExecutionContext &exe_ctx, 271 ExecuteFunction (ExecutionContext &exe_ctx, 302 ExecuteFunction(ExecutionContext &exe_ctx, 328 ExecuteFunction(ExecutionContext &exe_ctx, 360 ExecuteFunction(ExecutionContext &exe_ctx, 403 ExecuteFunction(ExecutionContext &exe_ctx, 451 GetThreadPlanToCallFunction (ExecutionContext &exe_ctx, [all …]
|
D | ClangUserExpression.h | 106 ExecutionContext &exe_ctx, 117 MatchesContext (ExecutionContext &exe_ctx); 164 ExecutionContext &exe_ctx, 174 ExecutionContext &exe_ctx); 201 ExecutionContext &exe_ctx, 347 Evaluate (ExecutionContext &exe_ctx, 360 EvaluateWithError (ExecutionContext &exe_ctx, 380 ScanContext (ExecutionContext &exe_ctx, 385 ExecutionContext &exe_ctx, 391 InstallContext (ExecutionContext &exe_ctx); [all …]
|
/external/lldb/source/Core/ |
D | UserSettingsController.cpp | 28 Properties::GetPropertyValue (const ExecutionContext *exe_ctx, in GetPropertyValue() argument 35 return properties_sp->GetSubValue(exe_ctx, path, will_modify, error); in GetPropertyValue() 40 Properties::SetPropertyValue (const ExecutionContext *exe_ctx, in SetPropertyValue() argument 47 return properties_sp->SetSubValue(exe_ctx, op, path, value); in SetPropertyValue() 54 Properties::DumpAllPropertyValues (const ExecutionContext *exe_ctx, Stream &strm, uint32_t dump_mas… in DumpAllPropertyValues() argument 58 return properties_sp->DumpValue (exe_ctx, strm, dump_mask); in DumpAllPropertyValues() 75 Properties::DumpPropertyValue (const ExecutionContext *exe_ctx, Stream &strm, const char *property_… in DumpPropertyValue() argument 80 return properties_sp->DumpPropertyValue (exe_ctx, in DumpPropertyValue() 103 Properties::GetSubProperty (const ExecutionContext *exe_ctx, in GetSubProperty() argument 108 return properties_sp->GetSubProperty (exe_ctx, name); in GetSubProperty()
|
D | Disassembler.cpp | 98 ResolveAddress (const ExecutionContext &exe_ctx, in ResolveAddress() argument 106 Target *target = exe_ctx.GetTargetPtr(); in ResolveAddress() 133 const ExecutionContext &exe_ctx, in Disassemble() argument 157 exe_ctx, in Disassemble() 179 const ExecutionContext &exe_ctx, in Disassemble() argument 203 else if (exe_ctx.GetTargetPtr()) in Disassemble() 205 exe_ctx.GetTargetPtr()->GetImages().FindFunctions (name, in Disassemble() 220 exe_ctx, in Disassemble() 237 const ExecutionContext &exe_ctx, in DisassembleRange() argument 244 … disasm_sp = Disassembler::FindPluginForTarget(exe_ctx.GetTargetSP(), arch, flavor, plugin_name); in DisassembleRange() [all …]
|
D | ValueObjectVariable.cpp | 138 ExecutionContext exe_ctx (GetExecutionContextRef()); in UpdateValue() local 140 Target *target = exe_ctx.GetTargetPtr(); in UpdateValue() 155 … if (expr.Evaluate (&exe_ctx, NULL, NULL, NULL, loclist_base_load_addr, NULL, m_value, &m_error)) in UpdateValue() 184 m_error = m_value.GetValueAsData (&exe_ctx, m_data, 0, GetModule().get()); in UpdateValue() 199 Process *process = exe_ctx.GetProcessPtr(); in UpdateValue() 237 m_error = value.GetValueAsData(&exe_ctx, m_data, 0, GetModule().get()); in UpdateValue() 261 ExecutionContext exe_ctx (exe_ctx_ref); in IsInScope() local 262 StackFrame *frame = exe_ctx.GetFramePtr(); in IsInScope() 330 ExecutionContext exe_ctx(GetExecutionContextRef()); in SetValueFromCString() local 331 RegisterContext *reg_ctx = exe_ctx.GetRegisterContext(); in SetValueFromCString() [all …]
|
D | Value.cpp | 166 Value::ValueOf(ExecutionContext *exe_ctx) in ValueOf() argument 176 ResolveValue(exe_ctx); in ValueOf() 319 Value::GetValueAsData (ExecutionContext *exe_ctx, in GetValueAsData() argument 353 if (exe_ctx == NULL) in GetValueAsData() 359 Process *process = exe_ctx->GetProcessPtr(); in GetValueAsData() 362 Target *target = exe_ctx->GetTargetPtr(); in GetValueAsData() 420 if (exe_ctx == NULL) in GetValueAsData() 424 else if (exe_ctx->GetTargetPtr() == NULL) in GetValueAsData() 457 addr_t load_address = so_addr.GetLoadAddress (exe_ctx->GetTargetPtr()); in GetValueAsData() 458 bool process_launched_and_stopped = exe_ctx->GetProcessPtr() in GetValueAsData() [all …]
|
D | ValueObjectRegister.cpp | 79 ExecutionContext exe_ctx(GetExecutionContextRef()); in UpdateValue() local 80 StackFrame *frame = exe_ctx.GetFramePtr(); in UpdateValue() 105 ExecutionContext exe_ctx(GetExecutionContextRef()); in CreateChildAtIndex() local 106 …new_valobj = new ValueObjectRegisterSet(exe_ctx.GetBestExecutionContextScope(), m_reg_ctx_sp, idx); in CreateChildAtIndex() 179 ExecutionContext exe_ctx(GetExecutionContextRef()); in UpdateValue() local 180 StackFrame *frame = exe_ctx.GetFramePtr(); in UpdateValue() 309 ExecutionContext exe_ctx (GetExecutionContextRef()); in GetClangTypeImpl() local 310 Target *target = exe_ctx.GetTargetPtr(); in GetClangTypeImpl() 348 ExecutionContext exe_ctx(GetExecutionContextRef()); in UpdateValue() local 349 StackFrame *frame = exe_ctx.GetFramePtr(); in UpdateValue() [all …]
|
D | ValueObjectConstResultImpl.cpp | 56 ExecutionContext exe_ctx (m_impl_backend->GetExecutionContextRef()); in DerefOnTarget() local 57 … m_load_addr_backend = ValueObjectConstResult::Create (exe_ctx.GetBestExecutionContextScope(), in DerefOnTarget() 62 exe_ctx.GetAddressByteSize()); in DerefOnTarget() 109 ExecutionContext exe_ctx (m_impl_backend->GetExecutionContextRef()); in CreateChildAtIndex() local 111 child_clang_type = clang_type.GetChildClangTypeAtIndex (&exe_ctx, in CreateChildAtIndex() 182 ExecutionContext exe_ctx (m_impl_backend->GetExecutionContextRef()); in AddressOf() local 183 … m_address_of_backend = ValueObjectConstResult::Create (exe_ctx.GetBestExecutionContextScope(), in AddressOf() 188 exe_ctx.GetAddressByteSize()); in AddressOf()
|
D | Debugger.cpp | 171 Debugger::SetPropertyValue (const ExecutionContext *exe_ctx, in SetPropertyValue() argument 179 if (is_load_script && exe_ctx->GetTargetSP()) in SetPropertyValue() 181 target_sp = exe_ctx->GetTargetSP(); in SetPropertyValue() 184 Error error (Properties::SetPropertyValue (exe_ctx, op, property_path, value)); in SetPropertyValue() 803 ExecutionContext exe_ctx; in GetSelectedExecutionContext() local 805 exe_ctx.SetTargetSP (target_sp); in GetSelectedExecutionContext() 810 exe_ctx.SetProcessSP (process_sp); in GetSelectedExecutionContext() 816 exe_ctx.SetThreadSP (thread_sp); in GetSelectedExecutionContext() 817 exe_ctx.SetFrameSP (thread_sp->GetSelectedFrame()); in GetSelectedExecutionContext() 818 if (exe_ctx.GetFramePtr() == NULL) in GetSelectedExecutionContext() [all …]
|
D | ValueObject.cpp | 454 ExecutionContext exe_ctx (GetExecutionContextRef()); in ResolveValue() local 456 scalar = tmp_value.ResolveValue(&exe_ctx); in ResolveValue() 708 ExecutionContext exe_ctx (GetExecutionContextRef()); in CreateChildAtIndex() local 710 child_clang_type = GetClangType().GetChildClangTypeAtIndex (&exe_ctx, in CreateChildAtIndex() 799 ExecutionContext exe_ctx (GetExecutionContextRef()); in GetSummaryAsCString() local 802 Target *target = exe_ctx.GetTargetPtr(); in GetSummaryAsCString() 808 exe_ctx.GetBestExecutionContextScope(), in GetSummaryAsCString() 923 ExecutionContext exe_ctx (GetExecutionContextRef()); in GetPointeeData() local 924 Target* target = exe_ctx.GetTargetPtr(); in GetPointeeData() 940 ExecutionContext exe_ctx (GetExecutionContextRef()); in GetPointeeData() local [all …]
|
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
D | AppleObjCRuntime.cpp | 59 ExecutionContext exe_ctx (valobj.GetExecutionContextRef()); in GetObjectDescription() local 60 return GetObjectDescription(str, val, exe_ctx.GetBestExecutionContextScope()); in GetObjectDescription() 69 ExecutionContext exe_ctx; in GetObjectDescription() local 70 exe_scope->CalculateExecutionContext(exe_ctx); in GetObjectDescription() 71 Process *process = exe_ctx.GetProcessPtr(); in GetObjectDescription() 83 Target *target = exe_ctx.GetTargetPtr(); in GetObjectDescription() 115 if (exe_ctx.GetFramePtr() == NULL) in GetObjectDescription() 117 Thread *thread = exe_ctx.GetThreadPtr(); in GetObjectDescription() 120 exe_ctx.SetThreadSP(process->GetThreadList().GetSelectedThread()); in GetObjectDescription() 121 thread = exe_ctx.GetThreadPtr(); in GetObjectDescription() [all …]
|
/external/lldb/source/Plugins/Process/Utility/ |
D | UnwindMacOSXFrameBackchain.cpp | 39 ExecutionContext exe_ctx (m_thread.shared_from_this()); in DoGetFrameCount() local 40 Target *target = exe_ctx.GetTargetPtr(); in DoGetFrameCount() 45 exe_ctx.SetFrameSP (m_thread.GetStackFrameAtIndex (0)); in DoGetFrameCount() 48 GetStackFrameData_x86_64 (exe_ctx); in DoGetFrameCount() 50 GetStackFrameData_i386 (exe_ctx); in DoGetFrameCount() 87 UnwindMacOSXFrameBackchain::GetStackFrameData_i386 (const ExecutionContext &exe_ctx) in GetStackFrameData_i386() argument 91 StackFrame *first_frame = exe_ctx.GetFramePtr(); in GetStackFrameData_i386() 93 Process *process = exe_ctx.GetProcessPtr(); in GetStackFrameData_i386() 186 UnwindMacOSXFrameBackchain::GetStackFrameData_x86_64 (const ExecutionContext &exe_ctx) in GetStackFrameData_x86_64() argument 190 Process *process = exe_ctx.GetProcessPtr(); in GetStackFrameData_x86_64() [all …]
|
D | InferiorCallPOSIX.cpp | 104 ExecutionContext exe_ctx; in InferiorCallMmap() local 105 frame->CalculateExecutionContext (exe_ctx); in InferiorCallMmap() 106 ExecutionResults result = process->RunThreadPlan (exe_ctx, in InferiorCallMmap() 190 ExecutionContext exe_ctx; in InferiorCallMunmap() local 191 frame->CalculateExecutionContext (exe_ctx); in InferiorCallMunmap() 192 ExecutionResults result = process->RunThreadPlan (exe_ctx, in InferiorCallMunmap() 244 ExecutionContext exe_ctx; in InferiorCall() local 245 frame->CalculateExecutionContext (exe_ctx); in InferiorCall() 246 ExecutionResults result = process->RunThreadPlan (exe_ctx, in InferiorCall()
|
/external/lldb/source/Target/ |
D | StopInfo.cpp | 183 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous() local 184 StoppointCallbackContext context (event_ptr, exe_ctx, true); in ShouldStopSynchronous() 360 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0)); in PerformAction() local 361 Process *process = exe_ctx.GetProcessPtr(); in PerformAction() 402 StoppointCallbackContext context (event_ptr, exe_ctx, false); in PerformAction() 430 … bool condition_says_stop = bp_loc_sp->ConditionSaysStop(exe_ctx, condition_error); in PerformAction() 434 Debugger &debugger = exe_ctx.GetTargetRef().GetDebugger(); in PerformAction() 611 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous() local 612 StoppointCallbackContext context (event_ptr, exe_ctx, true); in ShouldStopSynchronous() 654 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0)); in PerformAction() local [all …]
|