| /freebsd/contrib/llvm-project/lldb/source/API/ |
| H A D | SBBreakpointLocation.cpp | 91 loc_sp->GetTarget().GetAPIMutex()); in GetLoadAddress() 104 loc_sp->GetTarget().GetAPIMutex()); in SetEnabled() 115 loc_sp->GetTarget().GetAPIMutex()); in IsEnabled() 127 loc_sp->GetTarget().GetAPIMutex()); in GetHitCount() 139 loc_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount() 151 loc_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount() 162 loc_sp->GetTarget().GetAPIMutex()); in SetCondition() 175 loc_sp->GetTarget().GetAPIMutex()); in GetCondition() 185 loc_sp->GetTarget().GetAPIMutex()); in SetAutoContinue() 196 loc_sp->GetTarget().GetAPIMutex()); in GetAutoContinue() [all …]
|
| H A D | SBBreakpoint.cpp | 80 SBTarget SBBreakpoint::GetTarget() const { in GetTarget() function in SBBreakpoint 111 else if (bkpt_sp->GetTarget().GetBreakpointByID(bkpt_sp->GetID())) in operator bool() 123 bkpt_sp->GetTarget().GetAPIMutex()); in ClearAllBreakpointSites() 137 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationByAddress() 139 Target &target = bkpt_sp->GetTarget(); in FindLocationByAddress() 157 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationIDByAddress() 159 Target &target = bkpt_sp->GetTarget(); in FindLocationIDByAddress() 177 bkpt_sp->GetTarget().GetAPIMutex()); in FindLocationByID() 192 bkpt_sp->GetTarget().GetAPIMutex()); in GetLocationAtIndex() 206 bkpt_sp->GetTarget().GetAPIMutex()); in SetEnabled() [all …]
|
| H A D | SBBreakpointName.cpp | 55 TargetSP GetTarget() const { in GetTarget() function in lldb::SBBreakpointNameImpl 101 TargetSP target_sp = GetTarget(); in GetBreakpointName() 130 Target &target = bkpt_sp->GetTarget(); in SBBreakpointName() 154 rhs.m_impl_up->GetTarget(), rhs.m_impl_up->GetName()); in SBBreakpointName() 168 m_impl_up = std::make_unique<SBBreakpointNameImpl>(rhs.m_impl_up->GetTarget(), in operator =() 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() [all …]
|
| H A D | SBWatchpoint.cpp | 112 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchAddress() 127 watchpoint_sp->GetTarget().GetAPIMutex()); in GetWatchSize() 139 Target &target = watchpoint_sp->GetTarget(); in SetEnabled() 160 watchpoint_sp->GetTarget().GetAPIMutex()); in IsEnabled() 173 watchpoint_sp->GetTarget().GetAPIMutex()); in GetHitCount() 186 watchpoint_sp->GetTarget().GetAPIMutex()); in GetIgnoreCount() 198 watchpoint_sp->GetTarget().GetAPIMutex()); in SetIgnoreCount() 211 watchpoint_sp->GetTarget().GetAPIMutex()); in GetCondition() 221 watchpoint_sp->GetTarget().GetAPIMutex()); in SetCondition() 235 watchpoint_sp->GetTarget().GetAPIMutex()); in GetDescription() [all …]
|
| H A D | SBProcess.cpp | 139 process_sp->GetTarget().GetAPIMutex()); in RemoteLaunch() 146 Module *exe_module = process_sp->GetTarget().GetExecutableModulePointer(); in RemoteLaunch() 172 process_sp->GetTarget().GetAPIMutex()); in RemoteAttachToProcessWithID() 198 process_sp->GetTarget().GetAPIMutex()); in GetNumThreads() 214 process_sp->GetTarget().GetAPIMutex()); in GetSelectedThread() 231 process_sp->GetTarget().GetAPIMutex()); in CreateOSPluginThread() 239 SBTarget SBProcess::GetTarget() const { in GetTarget() function in SBProcess 246 target_sp = process_sp->GetTarget().shared_from_this(); in GetTarget() 354 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThread() 368 process_sp->GetTarget().GetAPIMutex()); in SetSelectedThreadByID() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/ |
| H A D | DynamicLoaderWindowsDYLD.cpp | 51 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, nullptr, nullptr, m_process->GetTarget(), range); in GetStepThroughTrampolinePlan() 205 ExecutionContext exe_ctx(m_process->GetTarget()); in GetStepThroughTrampolinePlan()
|
| /freebsd/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadPlanStepRange.cpp | 43 m_use_fast_step = GetTarget().GetUseFastStepping(); in ThreadPlanStepRange() 92 m_address_ranges[0].Dump(s, &GetTarget(), Address::DumpStyleLoadAddress); in DumpRanges() 96 m_address_ranges[i].Dump(s, &GetTarget(), Address::DumpStyleLoadAddress); in DumpRanges() 110 m_address_ranges[i].ContainsLoadAddress(pc_load_addr, &GetTarget()); in InRange() 135 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 154 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 164 &GetTarget()) != pc_load_addr) { in InRange() 177 m_addr_context.line_entry.Dump(&s, &GetTarget(), true, in InRange() 202 cur_pc, GetTarget(), unused_range); in InSymbol() 207 return range.ContainsLoadAddress(cur_pc, &GetTarget()); in InSymbol() [all …]
|
| H A D | ProcessTrace.cpp | 108 return GetTarget().GetArchitecture(); in GetArchitecture() 115 ModuleSP module_sp = GetTarget().GetExecutableModule(); in GetProcessInfo() 118 info.SetExecutableFile(GetTarget().GetExecutableModule()->GetFileSpec(), in GetProcessInfo() 127 GetTarget().ResolveLoadAddress(addr, resolved_address); in DoReadMemory() 129 return GetTarget().ReadMemoryFromFileCache(resolved_address, buf, size, in DoReadMemory()
|
| H A D | ThreadPlanStepOut.cpp | 160 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget()); in SetupReturnAddress() 182 GetTarget().CreateBreakpoint(m_return_addr, true, false).get(); in SetupReturnAddress() 232 GetTarget().RemoveBreakpointByID(m_return_bp_id); in ~ThreadPlanStepOut() 247 if (tmp_address.SetLoadAddress(m_step_from_insn, &GetTarget())) { in GetDescription() 259 if (tmp_address.SetLoadAddress(m_return_addr, &GetTarget())) { in GetDescription() 444 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in DoWillResume() 453 Breakpoint *return_bp = GetTarget().GetBreakpointByID(m_return_bp_id).get(); in WillStop() 474 GetTarget().RemoveBreakpointByID(m_return_bp_id); in MischiefManaged() 510 inlined_sc.target_sp = GetTarget().shared_from_this(); in QueueInlinedStepPlan()
|
| H A D | ThreadPlanRunToAddress.cpp | 52 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()
|
| H A D | Process.cpp | 850 Debugger &debugger = process_sp->GetTarget().GetDebugger(); in HandleProcessStateChangedEvent() 852 &process_sp->GetTarget()) { in HandleProcessStateChangedEvent() 885 process_sp->GetTarget().shared_from_this()); in HandleProcessStateChangedEvent() 890 process_sp->GetTarget().Dump(stream, eDescriptionLevelBrief); in HandleProcessStateChangedEvent() 1162 Target &target = GetTarget(); in UpdateThreadListIfNeeded() 1289 GetTarget().GetStatistics().SetFirstPublicStopTime(); in SetPublicState() 1442 GetTarget().GetStatistics().SetFirstPrivateStopTime(); in SetPrivateState() 1471 m_abi_sp = ABI::FindPlugin(shared_from_this(), GetTarget().GetArchitecture()); in GetABI() 1637 GetTarget().GetDebugger().GetAsyncErrorStream()->Printf( in CreateBreakpointSite() 1640 symbol->GetLoadAddress(&GetTarget()), in CreateBreakpointSite() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/ |
| H A D | DynamicLoaderFreeBSDKernel.cpp | 103 Module *exec = process->GetTarget().GetExecutableModulePointer(); in CreateInstance() 110 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 137 Module *exe_module = process->GetTarget().GetExecutableModulePointer(); in FindKernelAtLoadAddress() 226 if (!process->GetTarget().GetArchitecture().IsCompatibleMatch(kernel_arch)) in CheckForKernelImageAtAddress() 227 process->GetTarget().SetArchitecture(kernel_arch); in CheckForKernelImageAtAddress() 314 process->GetTarget().SetArchitecture(memory_module_sp->GetArchitecture()); in ReadMemoryModule() 327 Target &target = process->GetTarget(); in LoadImageUsingMemoryModule() 494 if (m_module_sp->SetLoadAddress(process->GetTarget(), 0, true, changed)) in LoadImageUsingFileAddress() 509 m_linker_file_list_struct_addr.GetLoadAddress(&m_process->GetTarget()), in ReadKmodsListHeader() 540 ModuleList &modules = m_process->GetTarget().GetImages(); in ParseKmods() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 56 process->GetTarget().GetArchitecture().GetTriple(); in CreateInstance() 79 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderPOSIXDYLD() 131 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 183 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch() 250 m_process->GetTarget().CreateBreakpoint(entry, true, false).get(); in ProbeEntry() 288 dyld_instance->m_process->GetTarget().GetBreakpointByID(break_id); in EntryBreakpointHit() 330 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint() 355 m_process->GetTarget().GetExecutableModulePointer()->GetFileSpec()); in SetRendezvousBreakpoint() 432 ModuleList &loaded_modules = m_process->GetTarget().GetImages(); in RefreshModules() 482 &m_process->GetTarget()) == m_interpreter_base) { in RefreshModules() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| H A D | DynamicLoaderHexagonDYLD.cpp | 53 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() 109 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderHexagonDYLD() 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() 349 ModuleList &loaded_modules = m_process->GetTarget().GetImages(); in RefreshModules() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/ |
| H A D | DynamicLoaderStatic.cpp | 31 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() 87 Target &target = m_process->GetTarget(); in LoadAllImagesAtFileAddresses()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | InferiorCallPOSIX.cpp | 49 process->GetTarget().GetImages().FindFunctions( in InferiorCallMmap() 80 process->GetTarget().GetScratchTypeSystemForLanguage( in InferiorCallMmap() 91 const ArchSpec arch = process->GetTarget().GetArchitecture(); in InferiorCallMmap() 93 process->GetTarget().GetPlatform()->GetMmapArgumentList( in InferiorCallMmap() 141 process->GetTarget().GetImages().FindFunctions( in InferiorCallMunmap()
|
| /freebsd/contrib/llvm-project/lldb/source/Breakpoint/ |
| H A D | BreakpointLocation.cpp | 53 return m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()); in GetLoadAddress() 67 Target &BreakpointLocation::GetTarget() { return m_owner.GetTarget(); } in GetTarget() function in BreakpointLocation 244 m_user_expression_sp.reset(GetTarget().GetUserExpressionForLanguage( in ConditionSaysStop() 431 Process *process = m_owner.GetTarget().GetProcessSP().get(); in ResolveBreakpointSite() 441 m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()))); in ResolveBreakpointSite() 463 if (ProcessSP process_sp = m_owner.GetTarget().GetProcessSP()) in ClearBreakpointSite() 514 sc.DumpStopContext(s, m_owner.GetTarget().GetProcessSP().get(), m_address, in GetDescription() 575 Target *target = &m_owner.GetTarget(); in GetDescription() 645 (uint64_t)m_address.GetOpcodeLoadAddress(&m_owner.GetTarget()), in Dump() 656 if (!m_owner.IsInternal() && m_owner.GetTarget().EventTypeHasListeners( in SendBreakpointLocationChangedEvent() [all …]
|
| H A D | WatchpointList.cpp | 25 if (wp_sp->GetTarget().EventTypeHasListeners( in Add() 29 wp_sp->GetTarget().BroadcastEvent(Target::eBroadcastBitWatchpointChanged, in Add() 173 if (wp_sp->GetTarget().EventTypeHasListeners( in Remove() 177 wp_sp->GetTarget().BroadcastEvent( in Remove() 236 if ((*pos)->GetTarget().EventTypeHasListeners( in RemoveAll() 240 (*pos)->GetTarget().BroadcastEvent( in RemoveAll()
|
| H A D | BreakpointResolverAddress.cpp | 129 Target &target = breakpoint.GetTarget(); in SearchCallback() 139 m_resolved_addr = m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback() 149 m_addr.GetLoadAddress(&breakpoint.GetTarget()); in SearchCallback() 168 m_addr.Dump(s, GetBreakpoint()->GetTarget().GetProcessSP().get(), in GetDescription()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.cpp | 122 ArchSpec::Core core = process->GetTarget().GetArchitecture().GetCore(); in ReadJITEntry() 155 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() 420 ArchSpec arch(process->GetTarget().GetArchitecture()); in CreateInstance() 452 Target &target = m_process->GetTarget(); in GetSymbolAddress()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/Process/minidump/ |
| H A D | ProcessMinidump.cpp | 211 GetTarget().SetArchitecture(arch, true /*set_platform*/); in DoLoadCore() 232 if (ModuleSP module = GetTarget().GetExecutableModule()) in DoLoadCore() 233 GetTarget().MergeArchitecture(module->GetArchitecture()); in DoLoadCore() 238 GetTarget().GetDebugger().GetID()); in DoLoadCore() 385 ModuleList &modules = GetTarget().GetImages(); in BuildMemoryRegions() 386 Target &target = GetTarget(); in BuildMemoryRegions() 459 GetTarget().GetOrCreateModule(module_spec, true /* notify */, &error); in GetOrCreateModule() 494 GetTarget().GetImages().Remove(module_sp); in GetOrCreateModule() 526 lldb::ModuleSP module_sp = GetTarget().GetOrCreateModule(module_spec, in ReadModuleList() 576 if (!GetTarget().GetExecutableModule()) in ReadModuleList() [all …]
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/ |
| H A D | InstrumentationRuntimeASan.cpp | 110 process_sp->GetTarget().RemoveBreakpointByID(GetBreakpointID()); in RetrieveReportData()
|
| /freebsd/contrib/llvm-project/lldb/source/Core/ |
| H A D | DynamicLoader.cpp | 78 Target &target = m_process->GetTarget(); in GetTargetExecutable() 124 module->SetLoadAddress(m_process->GetTarget(), base_addr, base_addr_is_offset, in UpdateLoadedSectionsCommon() 133 Target &target = m_process->GetTarget(); in UnloadSectionsCommon() 158 Target &target = m_process->GetTarget(); in FindModuleViaTarget() 203 PlatformSP platform_sp = process->GetTarget().GetPlatform(); in LoadBinaryWithUUIDAndAddress() 204 Target &target = process->GetTarget(); in LoadBinaryWithUUIDAndAddress()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ |
| H A D | ItaniumABILanguageRuntime.cpp | 105 m_process->GetTarget().GetImages().FindTypes(nullptr, query, results); in GetTypeInfo() 253 if (!process->GetTarget().ResolveLoadAddress(vtable_load_addr, vtable_addr)) in GetVTableInfo() 335 Target &target = m_process->GetTarget(); in GetDynamicTypeAndAddress() 356 if (!m_process->GetTarget().ResolveLoadAddress( in GetDynamicTypeAndAddress() 529 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter() 545 Target &target = m_process->GetTarget(); in CreateExceptionBreakpoint() 610 ScratchTypeSystemClang::GetForTarget(m_process->GetTarget()); in GetExceptionObjectForThread() 628 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetExceptionObjectForThread() 642 m_process->GetTarget().GetFunctionCallerForLanguage( in GetExceptionObjectForThread()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/ |
| H A D | ReportRetriever.cpp | 86 if (auto m = GetPreferredAsanModule(process_sp->GetTarget())) { in RetrieveReportData() 104 process_sp->GetTarget().GetDebugger().GetID()); in RetrieveReportData() 221 process_sp->GetTarget().GetDebugger().GetAsyncOutputStream()) in NotifyBreakpointHit() 248 Breakpoint *breakpoint = process_sp->GetTarget() in SetupBreakpoint()
|