Home
last modified time | relevance | path

Searched refs:GetTarget (Results 1 – 25 of 189) sorted by relevance

12345678

/llvm-project-15.0.7/lldb/source/API/
H A DSBBreakpointLocation.cpp90 loc_sp->GetTarget().GetAPIMutex()); in GetLoadAddress()
103 loc_sp->GetTarget().GetAPIMutex()); in SetEnabled()
114 loc_sp->GetTarget().GetAPIMutex()); in IsEnabled()
126 loc_sp->GetTarget().GetAPIMutex()); in GetHitCount()
138 loc_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount()
150 loc_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount()
161 loc_sp->GetTarget().GetAPIMutex()); in SetCondition()
172 loc_sp->GetTarget().GetAPIMutex()); in GetCondition()
219 .GetTarget() in SetScriptCallbackFunction()
246 .GetTarget() in SetScriptCallbackBody()
[all …]
H A DSBBreakpointName.cpp55 TargetSP GetTarget() const { in GetTarget() function in lldb::SBBreakpointNameImpl
101 TargetSP target_sp = GetTarget(); in GetBreakpointName()
130 Target &target = bkpt_sp->GetTarget(); in SBBreakpointName()
213 m_impl_up->GetTarget()->GetAPIMutex()); in SetEnabled()
222 TargetSP target_sp = m_impl_up->GetTarget(); in UpdateName()
237 m_impl_up->GetTarget()->GetAPIMutex()); in IsEnabled()
250 m_impl_up->GetTarget()->GetAPIMutex()); in SetOneShot()
264 m_impl_up->GetTarget()->GetAPIMutex()); in IsOneShot()
277 m_impl_up->GetTarget()->GetAPIMutex()); in SetIgnoreCount()
572 error = m_impl_up->GetTarget() in SetScriptCallbackFunction()
[all …]
H A DSBBreakpoint.cpp81 SBTarget SBBreakpoint::GetTarget() const { in GetTarget() function in SBBreakpoint
124 bkpt_sp->GetTarget().GetAPIMutex()); in ClearAllBreakpointSites()
140 Target &target = bkpt_sp->GetTarget(); in FindLocationByAddress()
158 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationIDByAddress()
160 Target &target = bkpt_sp->GetTarget(); in FindLocationIDByAddress()
178 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationByID()
193 bkpt_sp->GetTarget().GetAPIMutex()); in GetLocationAtIndex()
207 bkpt_sp->GetTarget().GetAPIMutex()); in SetEnabled()
492 bkpt_sp->GetTarget().GetAPIMutex()); in SetCommandLineCommands()
620 error = bkpt_sp->GetTarget() in SetScriptCallbackFunction()
[all …]
H A DSBProcess.cpp135 process_sp->GetTarget().GetAPIMutex()); in RemoteLaunch()
167 process_sp->GetTarget().GetAPIMutex()); in RemoteAttachToProcessWithID()
193 process_sp->GetTarget().GetAPIMutex()); in GetNumThreads()
208 process_sp->GetTarget().GetAPIMutex()); in GetSelectedThread()
225 process_sp->GetTarget().GetAPIMutex()); in CreateOSPluginThread()
233 SBTarget SBProcess::GetTarget() const { in GetTarget() function in SBProcess
348 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThread()
362 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThreadByID()
376 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThreadByIndexID()
1128 process_sp->GetTarget().GetAPIMutex()); in IsInstrumentationRuntimePresent()
[all …]
H A DSBWatchpoint.cpp102 watchpoint_sp->GetTarget().GetAPIMutex()); in GetHardwareIndex()
117 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchAddress()
132 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchSize()
144 Target &target = watchpoint_sp->GetTarget(); in SetEnabled()
165 watchpoint_sp->GetTarget().GetAPIMutex()); in IsEnabled()
178 watchpoint_sp->GetTarget().GetAPIMutex()); in GetHitCount()
191 watchpoint_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount()
203 watchpoint_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount()
214 watchpoint_sp->GetTarget().GetAPIMutex()); in GetCondition()
226 watchpoint_sp->GetTarget().GetAPIMutex()); in SetCondition()
[all …]
/llvm-project-15.0.7/lldb/source/Target/
H A DThreadPlanStepRange.cpp43 m_use_fast_step = GetTarget().GetUseFastStepping(); in ThreadPlanStepRange()
134 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange()
153 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange()
163 &GetTarget()) != pc_load_addr) { in InRange()
176 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange()
200 cur_pc, &GetTarget()); in InSymbol()
204 return range.ContainsLoadAddress(cur_pc, &GetTarget()); in InSymbol()
259 if (m_address_ranges[i].ContainsLoadAddress(addr, &GetTarget())) { in GetInstructionsForAddress()
269 GetTarget().GetArchitecture(), plugin_name, flavor, GetTarget(), in GetInstructionsForAddress()
282 .GetIndexOfInstructionAtLoadAddress(addr, GetTarget()); in GetInstructionsForAddress()
[all …]
H A DProcessTrace.cpp104 return GetTarget().GetArchitecture(); in GetArchitecture()
111 ModuleSP module_sp = GetTarget().GetExecutableModule(); in GetProcessInfo()
114 info.SetExecutableFile(GetTarget().GetExecutableModule()->GetFileSpec(), in GetProcessInfo()
123 GetTarget().GetSectionLoadList().ResolveLoadAddress(addr, resolved_address); in DoReadMemory()
125 return GetTarget().ReadMemoryFromFileCache(resolved_address, buf, size, in DoReadMemory()
H A DThreadPlanStepOut.cpp121 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget()); in ThreadPlanStepOut()
142 GetTarget().CreateBreakpoint(m_return_addr, true, false).get(); in ThreadPlanStepOut()
192 GetTarget().RemoveBreakpointByID(m_return_bp_id); in ~ThreadPlanStepOut()
207 if (tmp_address.SetLoadAddress(m_step_from_insn, &GetTarget())) { in GetDescription()
219 if (tmp_address.SetLoadAddress(m_return_addr, &GetTarget())) { in GetDescription()
401 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in DoWillResume()
410 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in WillStop()
431 GetTarget().RemoveBreakpointByID(m_return_bp_id); in MischiefManaged()
467 inlined_sc.target_sp = GetTarget().shared_from_this(); in QueueInlinedStepPlan()
H A DThreadPlanRunToAddress.cpp52 Target &target = thread.GetProcess()->GetTarget(); in ThreadPlanRunToAddress()
67 GetTarget().CreateBreakpoint(m_addresses[i], true, false).get(); in SetInitialBreakpoints()
81 GetTarget().RemoveBreakpointByID(m_break_ids[i]); in ~ThreadPlanRunToAddress()
122 GetTarget().GetBreakpointByID(m_break_ids[i]).get(); in GetDescription()
181 GetTarget().RemoveBreakpointByID(m_break_ids[i]); in MischiefManaged()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
H A DDynamicLoaderMacOS.cpp51 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance()
87 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ~DynamicLoaderMacOS()
141 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in DoClear()
156 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ClearNotificationBreakpoint()
235 ScratchTypeSystemClang::GetForTarget(process->GetTarget()); in NotifyBreakpointHit()
324 process->GetTarget().GetImages().Clear(); in NotifyBreakpointHit()
325 process->GetTarget().GetSectionLoadList().Clear(); in NotifyBreakpointHit()
346 Target &target = process->GetTarget(); in NotifyBreakpointHit()
403 m_process->GetTarget() in SetNotificationBreakpoint()
441 Target &target = m_process->GetTarget(); in GetDyldLockVariableAddressFromModule()
[all …]
H A DDynamicLoaderMacOSXDYLD.cpp71 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE()
108 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ~DynamicLoaderMacOSXDYLD()
163 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in DoClear()
177 m_process->GetTarget().RemoveBreakpointByID(m_break_id); in ClearNotificationBreakpoint()
192 m_process->GetTarget().GetArchitecture().GetByteOrder(); in DoInitialImageFetch()
266 Target &target = m_process->GetTarget(); in ReadDYLDInfoFromMemoryAndSetNotificationCallback()
403 Target &target = process->GetTarget(); in NotifyBreakpointHit()
425 m_process->GetTarget().GetArchitecture().GetByteOrder(); in ReadAllImageInfosStructure()
740 Target &target = m_process->GetTarget(); in InitializeFromAllImageInfos()
942 Target &target = m_process->GetTarget(); in UpdateImageInfosHeaderAndLoadCommands()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp51 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance()
69 module_sp = m_process->GetTarget().GetOrCreateModule(module_spec, in OnLoadModule()
79 m_process->GetTarget().ModulesDidLoad(module_list); in OnLoadModule()
84 if (!m_process->GetTarget().ResolveLoadAddress(module_addr, resolved_addr)) in OnUnloadModule()
93 m_process->GetTarget().ModulesDidUnload(module_list, false); in OnUnloadModule()
145 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
165 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch()
176 auto arch = m_process->GetTarget().GetArchitecture(); in GetStepThroughTrampolinePlan()
186 arch, nullptr, nullptr, m_process->GetTarget(), range); in GetStepThroughTrampolinePlan()
205 ExecutionContext exe_ctx(m_process->GetTarget()); in GetStepThroughTrampolinePlan()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp31 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE()
49 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE()
80 const ModuleList &module_list = m_process->GetTarget().GetImages(); in LoadAllImagesAtFileAddresses()
112 if (m_process->GetTarget() in LoadAllImagesAtFileAddresses()
118 if (m_process->GetTarget().SetSectionLoadAddress( in LoadAllImagesAtFileAddresses()
131 m_process->GetTarget().ModulesDidLoad(loaded_module_list); in LoadAllImagesAtFileAddresses()
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp52 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance()
74 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderPOSIXDYLD()
114 Target &target = m_process->GetTarget(); in DidAttach()
141 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
193 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch()
310 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint()
462 m_process->GetTarget().ModulesDidLoad(new_modules); in RefreshModules()
500 Target &target = thread.GetProcess()->GetTarget(); in GetStepThroughTrampolinePlan()
560 Target &target = m_process->GetTarget(); in LoadInterpreterModule()
657 m_process->GetTarget().ModulesDidLoad(module_list); in LoadAllCurrentModules()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp53 ModuleSP module = proc->GetTarget().GetExecutableModule(); in LLDB_PLUGIN_DEFINE()
69 return addr.GetLoadAddress(&proc->GetTarget()); in LLDB_PLUGIN_DEFINE()
92 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance()
148 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
164 Target &target = m_process->GetTarget(); in GetTargetExecutable()
211 Target &target = m_process->GetTarget(); in UpdateLoadedSections()
242 Target &target = m_process->GetTarget(); in UnloadSections()
268 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint()
373 m_process->GetTarget().ModulesDidLoad(new_modules); in RefreshModules()
419 Target &target = thread.GetProcess()->GetTarget(); in GetStepThroughTrampolinePlan()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/DynamicLoader/Darwin-Kernel/
H A DDynamicLoaderDarwinKernel.cpp154 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance()
481 if (!process->GetTarget().GetArchitecture().IsCompatibleMatch( in CheckForKernelImageAtAddress()
483 process->GetTarget().SetArchitecture(kernel_arch); in CheckForKernelImageAtAddress()
515 process->GetTarget().GetDebugger().GetPlatformList().Create( in DynamicLoaderDarwinKernel()
518 process->GetTarget().SetPlatform(platform_sp); in DynamicLoaderDarwinKernel()
755 Target &target = process->GetTarget(); in LoadImageUsingMemoryModule()
1008 &m_process->GetTarget()); in LoadKernelModuleIfNeeded()
1094 if (m_process->GetTarget().ReadPointerFromMemory( in ReadKextSummaryHeader()
1310 m_process->GetTarget().ModulesDidLoad(loaded_module_list); in ParseKextSummaries()
1374 const size_t bytes_read = m_process->GetTarget().ReadMemory( in ReadKextSummaries()
[all …]
/llvm-project-15.0.7/lldb/test/API/commands/frame/recognizer/
H A Drecognizer.py10 … val1 = frame.GetThread().GetProcess().GetTarget().CreateValueFromExpression("a", "%d" % arg1)
11 … val2 = frame.GetThread().GetProcess().GetTarget().CreateValueFromExpression("b", "%d" % arg2)
15 …val1 = frame.GetThread().GetProcess().GetTarget().CreateValueFromExpression("a", "(int *)%d" % arg…
/llvm-project-15.0.7/lldb/test/API/commands/expression/formatters/
H A Dfoosynth.py28 self.valobj.GetTarget().GetProcess().GetAddressByteSize() == 8)
29 self.is_little = (self.valobj.GetTarget().GetProcess(
31 self.pointer_size = self.valobj.GetTarget().GetProcess().GetAddressByteSize()
/llvm-project-15.0.7/lldb/source/Breakpoint/
H A DBreakpointLocation.cpp52 return m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()); in GetLoadAddress()
67 Target &BreakpointLocation::GetTarget() { return m_owner.GetTarget(); } in GetTarget() function in BreakpointLocation
261 m_user_expression_sp.reset(GetTarget().GetUserExpressionForLanguage( in ConditionSaysStop()
445 Process *process = m_owner.GetTarget().GetProcessSP().get(); in ResolveBreakpointSite()
456 m_address.GetOpcodeLoadAddress(&m_owner.GetTarget())); in ResolveBreakpointSite()
470 ProcessSP process_sp(m_owner.GetTarget().GetProcessSP()); in ClearBreakpointSite()
516 sc.DumpStopContext(s, m_owner.GetTarget().GetProcessSP().get(), m_address, in GetDescription()
567 Target *target = &m_owner.GetTarget(); in GetDescription()
639 (uint64_t)m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()), in Dump()
652 m_owner.GetTarget().EventTypeHasListeners( in SendBreakpointLocationChangedEvent()
[all …]
H A DWatchpointList.cpp25 if (wp_sp->GetTarget().EventTypeHasListeners( in Add()
27 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add()
173 if (wp_sp->GetTarget().EventTypeHasListeners( in Remove()
175 wp_sp->GetTarget().BroadcastEvent( in Remove()
235 if ((*pos)->GetTarget().EventTypeHasListeners( in RemoveAll()
237 (*pos)->GetTarget().BroadcastEvent( in RemoveAll()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/
H A DInferiorCallPOSIX.cpp50 process->GetTarget().GetImages().FindFunctions( in InferiorCallMmap()
85 process->GetTarget().GetScratchTypeSystemForLanguage( in InferiorCallMmap()
94 const ArchSpec arch = process->GetTarget().GetArchitecture(); in InferiorCallMmap()
96 process->GetTarget().GetPlatform()->GetMmapArgumentList( in InferiorCallMmap()
145 process->GetTarget().GetImages().FindFunctions( in InferiorCallMunmap()
/llvm-project-15.0.7/lldb/source/Plugins/SystemRuntime/MacOSX/
H A DSystemRuntimeMacOSX.cpp47 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in LLDB_PLUGIN_DEFINE()
57 process->GetTarget().GetArchitecture().GetTriple(); in LLDB_PLUGIN_DEFINE()
287 module_sp = m_process->GetTarget().GetImages().FindFirstModule( in ReadLibdispatchOffsetsAddress()
340 &m_process->GetTarget()); in ReadLibpthreadOffsetsAddress()
387 &m_process->GetTarget()); in ReadLibdispatchTSDIndexesAddress()
418 ScratchTypeSystemClang::GetForTarget(m_process->GetTarget()); in ReadLibdispatchTSDIndexes()
580 Target &target = m_process->GetTarget(); in BacktraceRecordingHeadersInitialized()
585 m_process->GetTarget().GetImages().FindSymbolsWithNameAndType( in BacktraceRecordingHeadersInitialized()
599 m_process->GetTarget().GetImages().FindSymbolsWithNameAndType( in BacktraceRecordingHeadersInitialized()
613 m_process->GetTarget().GetImages().FindSymbolsWithNameAndType( in BacktraceRecordingHeadersInitialized()
[all …]
/llvm-project-15.0.7/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp119 ArchSpec::Core core = process->GetTarget().GetArchitecture().GetCore(); in ReadJITEntry()
154 m_process->GetTarget().RemoveBreakpointByID(m_jit_break_id); in ~JITLoaderGDB()
169 Target &target = m_process->GetTarget(); in DidAttach()
175 Target &target = m_process->GetTarget(); in DidLaunch()
210 m_process->GetTarget().CreateBreakpoint(jit_addr, true, false).get(); in SetJITBreakpoint()
275 if (m_process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) in ReadJITDescriptor()
287 Target &target = m_process->GetTarget(); in ReadJITDescriptorImpl()
417 ArchSpec arch(process->GetTarget().GetArchitecture()); in CreateInstance()
449 Target &target = m_process->GetTarget(); in GetSymbolAddress()
/llvm-project-15.0.7/lldb/source/Plugins/InstrumentationRuntime/ASan/
H A DInstrumentationRuntimeASan.cpp143 process_sp->GetTarget().GetDebugger().GetID()); in RetrieveReportData()
267 process_sp->GetTarget().GetDebugger().GetOutputStreamSP()); in NotifyBreakpointHit()
296 Target &target = process_sp->GetTarget(); in Activate()
305 process_sp->GetTarget() in Activate()
320 process_sp->GetTarget().RemoveBreakpointByID(GetBreakpointID()); in Deactivate()
/llvm-project-15.0.7/lldb/source/Core/
H A DDynamicLoader.cpp73 Target &target = m_process->GetTarget(); in GetTargetExecutable()
115 module->SetLoadAddress(m_process->GetTarget(), base_addr, base_addr_is_offset, in UpdateLoadedSectionsCommon()
124 Target &target = m_process->GetTarget(); in UnloadSectionsCommon()
149 Target &target = m_process->GetTarget(); in FindModuleViaTarget()

12345678