| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
| H A D | DynamicLoaderPOSIXDYLD.cpp | 92 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach() 113 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach() 147 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach() 247 if (m_process) { in ProbeEntry() 276 dyld_instance->m_process ? dyld_instance->m_process->GetID() in EntryBreakpointHit() 319 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 329 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in SetRendezvousBreakpoint() 366 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 377 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 397 dyld_instance->m_process ? dyld_instance->m_process->GetID() in RendezvousBreakpointHit() [all …]
|
| H A D | DYLDRendezvous.cpp | 102 if (m_process) { in UpdateExecutablePath() 128 address_size = m_process->GetAddressByteSize(); in Resolve() 135 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve() 227 m_process->GetLoadedModuleList(); in UpdateSOEntriesFromRemote() 469 *dst = m_process->ReadPointerFromMemory(addr, error); in ReadPointer() 473 return addr + m_process->GetAddressByteSize(); in ReadPointer() 483 m_process->ReadCStringFromMemory(addr, str, error); in ReadStringFromMemory() 505 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { in UpdateBaseAddrIfNecessary() 526 const ArchSpec &arch = m_process->GetTarget().GetArchitecture(); in ReadSOEntryFromMemory() 559 Target &target = m_process->GetTarget(); in FindMetadata() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Core/ |
| H A D | DynamicLoader.cpp | 61 DynamicLoader::DynamicLoader(Process *process) : m_process(process) {} in DynamicLoader() 67 return m_process->GetStopOnSharedLibraryEvents(); in GetStopWhenImagesChange() 71 m_process->SetStopOnSharedLibraryEvents(stop); in SetStopWhenImagesChange() 75 Target &target = m_process->GetTarget(); in GetTargetExecutable() 126 Target &target = m_process->GetTarget(); in UnloadSectionsCommon() 154 Target &target = m_process->GetTarget(); in LoadModuleAtAddress() 190 Status error = m_process->GetMemoryRegionInfo(base_addr, memory_info); in LoadModuleAtAddress() 210 if ((module_sp = m_process->ReadModuleFromMemory(file, base_addr))) { in LoadModuleAtAddress() 231 addr_t value = m_process->ReadPointerFromMemory(addr, error); in ReadPointer() 240 if (m_process) in LoadOperatingSystemPlugin() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/ |
| H A D | DynamicLoaderWindowsDYLD.cpp | 73 module_sp = m_process->GetTarget().GetOrCreateModule(module_spec, in OnLoadModule() 83 m_process->GetTarget().ModulesDidLoad(module_list); in OnLoadModule() 97 m_process->GetTarget().ModulesDidUnload(module_list, false); in OnUnloadModule() 140 lldb::addr_t image_base = m_process->GetImageInfoAddress(); in DidAttach() 149 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 150 auto error = m_process->LoadModules(); in DidAttach() 169 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch() 170 auto error = m_process->LoadModules(); in DidLaunch() 186 auto arch = m_process->GetTarget().GetArchitecture(); in GetStepThroughTrampolinePlan() 196 arch, nullptr, nullptr, m_process->GetTarget(), range); in GetStepThroughTrampolinePlan() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | ThreadPlanTracer.cpp | 37 : m_process(*thread.GetProcess().get()), m_tid(thread.GetID()), in ThreadPlanTracer() 41 : m_process(*thread.GetProcess().get()), m_tid(thread.GetID()), in ThreadPlanTracer() 59 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(m_tid); in GetThread() 99 m_process.GetTarget().GetArchitecture(), nullptr, nullptr); in GetDisassembler() 105 if (auto target_sp = m_process.CalculateTarget()) { in GetIntPointerType() 143 addr_valid = m_process.GetTarget().GetSectionLoadList().ResolveLoadAddress( in Log() 153 m_process.ReadMemory(pc, buffer, sizeof(buffer), err); in Log() 156 DataExtractor extractor(buffer, sizeof(buffer), m_process.GetByteOrder(), in Log() 157 m_process.GetAddressByteSize()); in Log() 177 m_process.GetTarget().GetDebugger().GetDisassemblyFormat(); in Log() [all …]
|
| H A D | ThreadList.cpp | 30 : ThreadCollection(), m_process(rhs.m_process), m_stop_id(rhs.m_stop_id), in ThreadList() 45 m_process = rhs.m_process; in operator =() 86 m_process->UpdateThreadListIfNeeded(); in GetSize() 94 m_process->UpdateThreadListIfNeeded(); in GetThreadAtIndex() 106 m_process->UpdateThreadListIfNeeded(); in FindThreadByID() 124 m_process->UpdateThreadListIfNeeded(); in FindThreadByProtocolID() 142 m_process->UpdateThreadListIfNeeded(); in RemoveThreadByID() 360 m_process->UpdateThreadListIfNeeded(); in ShouldReportStop() 400 m_process->UpdateThreadListIfNeeded(); in SetShouldReportStop() 705 m_process = rhs.m_process; in Update() [all …]
|
| H A D | ThreadPlanStepOverBreakpoint.cpp | 113 m_process.GetBreakpointSiteList().FindByAddress(m_breakpoint_addr)); in DoWillResume() 115 m_process.DisableBreakpointSite(bp_site_sp.get()); in DoWillResume() 153 m_process.GetBreakpointSiteList().FindByAddress(m_breakpoint_addr)); in ReenableBreakpointSite() 155 m_process.EnableBreakpointSite(bp_site_sp.get()); in ReenableBreakpointSite()
|
| H A D | Memory.cpp | 25 m_process(process), in MemoryCache() 37 m_L2_cache_line_byte_size = m_process.GetMemoryCacheLineSize(); in Clear() 160 m_process.ReadMemoryFromInferior(addr, dst, dst_len, error); in Read() 229 size_t process_bytes_read = m_process.ReadMemoryFromInferior( in Read() 330 : m_process(process), m_mutex(), m_memory_map() {} in AllocatedMemoryCache() 336 if (m_process.IsAlive()) { in Clear() 339 m_process.DoDeallocateMemory(pos->second->GetBaseAddress()); in Clear() 352 addr_t addr = m_process.DoAllocateMemory(page_byte_size, permissions, error); in AllocatePage()
|
| H A D | ThreadPlanStepOut.cpp | 115 return_address = m_process.AdvanceAddressToNextBranchInstruction( in ThreadPlanStepOut() 120 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget()); in ThreadPlanStepOut() 127 if (!m_process.GetLoadAddressPermissions(m_return_addr, permissions)) { in ThreadPlanStepOut() 207 tmp_address.Dump(s, &m_process, Address::DumpStyleResolvedDescription, in GetDescription() 219 tmp_address.Dump(s, &m_process, Address::DumpStyleResolvedDescription, in GetDescription() 294 m_process.GetBreakpointSiteList().FindByID(stop_info_sp->GetValue())); in DoPlanExplainsStop() 514 lldb::ABISP abi_sp = m_process.GetABI(); in CalculateReturnValue()
|
| H A D | ThreadPlanStepThrough.cpp | 52 m_process.GetTarget() in ThreadPlanStepThrough() 88 for (LanguageRuntime *runtime : m_process.GetLanguageRuntimes()) { in LookForPlanToStepThroughFromCurrentPC() 223 m_process.GetTarget().RemoveBreakpointByID(m_backstop_bkpt_id); in ClearBackstopBreakpoint() 249 m_process.GetBreakpointSiteList().FindByID(stop_value); in HitOurBackstopBreakpoint()
|
| H A D | ThreadPlan.cpp | 24 : m_process(*thread.GetProcess().get()), m_tid(thread.GetID()), in ThreadPlan() 37 Target &ThreadPlan::GetTarget() { return m_process.GetTarget(); } in GetTarget() 39 const Target &ThreadPlan::GetTarget() const { return m_process.GetTarget(); } in GetTarget() 45 ThreadSP thread_sp = m_process.GetThreadList().FindThreadByID(m_tid); in GetThread()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Host/posix/ |
| H A D | HostProcessPosix.cpp | 34 if (m_process == kInvalidPosixProcess) { in Signal() 40 return HostProcessPosix::Signal(m_process, signo); in Signal() 59 if (snprintf(link_path, PATH_MAX, "/proc/%" PRIu64 "/exe", m_process) != 1) { in GetMainModule() 79 lldb::pid_t HostProcessPosix::GetProcessId() const { return m_process; } in GetProcessId() 82 if (m_process == kInvalidPosixProcess) in IsRunning() 92 return Host::StartMonitoringChildProcess(callback, m_process, in StartMonitoring()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/ |
| H A D | DynamicLoaderHexagonDYLD.cpp | 139 m_process->SetCanJIT(false); in DidAttach() 142 m_process->SetCanInterpretFunctionCalls(true); in DidAttach() 158 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach() 174 Target &target = m_process->GetTarget(); in GetTargetExecutable() 221 Target &target = m_process->GetTarget(); in UpdateLoadedSections() 252 Target &target = m_process->GetTarget(); in UnloadSections() 278 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint() 328 Process *proc = dyld_instance->m_process; in RendezvousBreakpointHit() 383 m_process->GetTarget().ModulesDidLoad(new_modules); in RefreshModules() 500 m_process->GetTarget().ModulesDidLoad(module_list); in LoadAllCurrentModules() [all …]
|
| H A D | HexagonDYLDRendezvous.cpp | 49 : m_process(process), m_rendezvous_addr(LLDB_INVALID_ADDRESS), m_current(), in HexagonDYLDRendezvous() 54 if (m_process) { in HexagonDYLDRendezvous() 55 Module *exe_mod = m_process->GetTarget().GetExecutableModulePointer(); in HexagonDYLDRendezvous() 69 address_size = m_process->GetAddressByteSize(); in Resolve() 73 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve() 222 *dst = m_process->ReadUnsignedIntegerFromMemory(addr, size, 0, error); in ReadWord() 232 *dst = m_process->ReadPointerFromMemory(addr, error); in ReadPointer() 236 return addr + m_process->GetAddressByteSize(); in ReadPointer() 249 size = m_process->ReadMemory(addr, &c, 1, error); in ReadStringFromMemory() 290 Target &target = m_process->GetTarget(); in FindMetadata() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/ |
| H A D | Runtime.h | 17 Runtime(Process *process) : m_process(process) {} in Runtime() 22 Process *GetProcess() { return m_process; } in GetProcess() 23 Target &GetTargetRef() { return m_process->GetTarget(); } in GetTargetRef() 29 Process *m_process;
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ |
| H A D | ItaniumABILanguageRuntime.cpp | 59 if (m_process && vtable_load_addr != LLDB_INVALID_ADDRESS) { in GetTypeInfoFromVTableAddress() 62 Target &target = m_process->GetTarget(); in GetTypeInfoFromVTableAddress() 460 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter() 474 Target &target = m_process->GetTarget(); in CreateExceptionBreakpoint() 486 if (!m_process) in SetExceptionBreakpoints() 508 if (!m_process) in ClearExceptionBreakpoints() 522 if (!m_process) in ExceptionBreakpointsExplainStop() 553 options.SetTimeout(m_process->GetUtilityExpressionTimeout()); in GetExceptionObjectForThread() 557 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetExceptionObjectForThread() 571 m_process->GetTarget().GetFunctionCallerForLanguage( in GetExceptionObjectForThread() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCRuntime.cpp | 109 assert(m_process == process); in GetObjectDescription() 352 m_process->shared_from_this(), module_sp); in ReadObjCLibrary() 425 if (!m_process) in ClearExceptionBreakpoints() 439 if (!m_process) in ExceptionBreakpointsExplainStop() 451 if (!m_process) in CalculateHasNewLiteralsAndIndexing() 454 Target &target(m_process->GetTarget()); in CalculateHasNewLiteralsAndIndexing() 472 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter() 585 size_t ptr_size = m_process->GetAddressByteSize(); in GetBacktraceThreadFromException() 589 addr_t pc = m_process->ReadPointerFromMemory( in GetBacktraceThreadFromException() 597 ThreadSP new_thread_sp(new HistoryThread(*m_process, 0, pcs)); in GetBacktraceThreadFromException() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/ |
| H A D | HostNativeProcessBase.h | 27 HostNativeProcessBase() : m_process(LLDB_INVALID_PROCESS) {} in HostNativeProcessBase() 29 : m_process(process) {} in HostNativeProcessBase() 38 lldb::process_t GetSystemHandle() const { return m_process; } in GetSystemHandle() 45 lldb::process_t m_process;
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/ |
| H A D | DynamicLoaderStatic.cpp | 80 const ModuleList &module_list = m_process->GetTarget().GetImages(); in LoadAllImagesAtFileAddresses() 85 m_process->SetCanJIT(false); 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()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/ |
| H A D | OperatingSystemPython.cpp | 129 m_process->GetID()); in GetDynamicRegisterInfo() 137 *dictionary, m_process->GetTarget().GetArchitecture()); in GetDynamicRegisterInfo() 169 Target &target = m_process->GetTarget(); in UpdateThreadList() 178 m_process->GetID()); in UpdateThreadList() 265 thread_sp = std::make_shared<ThreadMemory>(*m_process, tid, name, queue, in CreateThreadFromThreadInfo() 311 Target &target = m_process->GetTarget(); in CreateRegisterContextForThread() 398 Target &target = m_process->GetTarget(); in CreateThread() 408 ThreadList core_threads(m_process); in CreateThread() 409 ThreadList &thread_list = m_process->GetThreadList(); in CreateThread()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/ |
| H A D | JITLoaderGDB.cpp | 157 m_process->GetTarget().RemoveBreakpointByID(m_jit_break_id); in ~JITLoaderGDB() 172 Target &target = m_process->GetTarget(); in DidAttach() 178 Target &target = m_process->GetTarget(); in DidLaunch() 184 if (!DidSetJITBreakpoint() && m_process->IsAlive()) in ModulesDidLoad() 213 m_process->GetTarget().CreateBreakpoint(jit_addr, true, false).get(); in SetJITBreakpoint() 278 if (m_process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) in ReadJITDescriptor() 290 Target &target = m_process->GetTarget(); in ReadJITDescriptorImpl() 296 size_t bytes_read = m_process->ReadMemory(m_jit_descriptor_addr, &jit_desc, in ReadJITDescriptorImpl() 313 if (!ReadJITEntry(jit_relevant_entry, m_process, &jit_entry)) { in ReadJITDescriptorImpl() 331 module_sp = m_process->ReadModuleFromMemory( in ReadJITDescriptorImpl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeThreadNetBSD.cpp | 45 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in Resume() 49 ret = NativeProcessNetBSD::PtraceWrapper(PT_CLEARSTEP, m_process.GetID(), in Resume() 57 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in SingleStep() 61 ret = NativeProcessNetBSD::PtraceWrapper(PT_SETSTEP, m_process.GetID(), in SingleStep() 69 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_SUSPEND, m_process.GetID(), in Suspend() 187 PT_LWPSTATUS, static_cast<int>(m_process.GetID()), &info, sizeof(info)); in GetName() 194 int mib[5] = {CTL_KERN, KERN_LWP, static_cast<int>(m_process.GetID()), in GetName()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/ |
| H A D | NSIndexPath.cpp | 173 m_process = &p; in SetIndexes() 180 if (!m_process) in GetIndexAtIndex() 202 m_process, v, ConstString(idx_name.GetString())); in GetIndexAtIndex() 209 m_process = nullptr; in Clear() 218 Process *m_process = nullptr; member
|
| /freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Host/common/ |
| H A D | NativeThreadProtocol.h | 37 NativeProcessProtocol &GetProcess() { return m_process; } in GetProcess() 51 NativeProcessProtocol &m_process;
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 23 NativeProcessProtocol &m_process; member 31 : m_process(process), m_reg_context(reg_context) {} in EmulatorBaton() 42 emulator_baton->m_process.ReadMemory(addr, dst, length, bytes_read); in ReadMemoryCallback()
|