Home
last modified time | relevance | path

Searched refs:m_process (Results 1 – 25 of 62) sorted by relevance

123

/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp76 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderPOSIXDYLD()
84 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
85 m_auxv = std::make_unique<AuxVector>(m_process->GetAuxvData()); in DidAttach()
89 __FUNCTION__, m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
101 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
116 Target &target = m_process->GetTarget(); in DidAttach()
135 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
143 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
153 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
174 m_auxv = std::make_unique<AuxVector>(m_process->GetAuxvData()); in DidLaunch()
[all …]
H A DDYLDRendezvous.cpp55 : m_process(process), m_rendezvous_addr(LLDB_INVALID_ADDRESS), in ResolveRendezvousAddress()
69 if (!m_process) { in ResolveRendezvousAddress()
76 info_location = m_process->GetImageInfoAddress(); in ResolveRendezvousAddress()
82 Target *target = &m_process->GetTarget(); in ResolveRendezvousAddress()
121 __FUNCTION__, m_process->GetAddressByteSize(), info_location); in UpdateExecutablePath()
123 info_addr = m_process->ReadPointerFromMemory(info_location, error); in UpdateExecutablePath()
142 if (m_process) { in Resolve()
144 Module *exe_mod = m_process->GetTarget().GetExecutableModulePointer(); in Resolve()
175 address_size = m_process->GetAddressByteSize(); in Resolve()
350 m_process in AddSOEntriesFromRemote()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp69 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()
110 m_process->GetFileLoadAddress(file_spec, is_loaded, load_addr); in GetLoadAddress()
136 lldb::addr_t image_base = m_process->GetImageInfoAddress(); in DidAttach()
145 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
146 auto error = m_process->LoadModules(); in DidAttach()
165 m_process->GetTarget().ModulesDidLoad(module_list); in DidLaunch()
166 auto error = m_process->LoadModules(); in DidLaunch()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/FreeBSD-Kernel/
H A DDynamicLoaderFreeBSDKernel.cpp249 : DynamicLoader(process), m_process(process), in DynamicLoaderFreeBSDKernel()
509 addr_t address = m_process->ReadPointerFromMemory( in ReadKmodsListHeader()
510 m_linker_file_list_struct_addr.GetLoadAddress(&m_process->GetTarget()), in ReadKmodsListHeader()
541 ModuleList &modules = m_process->GetTarget().GetImages(); in ParseKmods()
552 m_process->GetTarget().ModulesDidUnload(remove_modules, false); in ParseKmods()
559 if (!image_info.LoadImageUsingMemoryModule(m_process)) { in ParseKmods()
560 image_info.LoadImageUsingFileAddress(m_process); in ParseKmods()
570 m_process->GetTarget().ModulesDidLoad(add_modules); in ParseKmods()
602 const int32_t kld_off_address = m_process->ReadSignedIntegerFromMemory( in ReadAllKmods()
604 &m_process->GetTarget()), in ReadAllKmods()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DThreadList.cpp27 : ThreadCollection(), m_process(process), m_stop_id(0), in ThreadList()
31 : ThreadCollection(), m_process(rhs.m_process), m_stop_id(rhs.m_stop_id), in ThreadList()
42 assert(&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()
162 m_process.UpdateThreadListIfNeeded(); in RemoveThreadByProtocolID()
212 m_process.UpdateThreadListIfNeeded(); in FindThreadByIndexID()
[all …]
H A DThreadPlanTracer.cpp37 : 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()
142 addr_valid = m_process.GetTarget().GetSectionLoadList().ResolveLoadAddress( in Log()
152 m_process.ReadMemory(pc, buffer, sizeof(buffer), err); in Log()
155 DataExtractor extractor(buffer, sizeof(buffer), m_process.GetByteOrder(), in Log()
156 m_process.GetAddressByteSize()); in Log()
177 m_process in Log()
[all...]
H A DThreadPlanStepOverBreakpoint.cpp114 m_process.GetBreakpointSiteList().FindByAddress(m_breakpoint_addr)); in DoWillResume()
116 m_process.DisableBreakpointSite(bp_site_sp.get()); in DoWillResume()
152 m_process.GetBreakpointSiteList().FindByAddress(m_breakpoint_addr)); in ReenableBreakpointSite()
154 m_process.EnableBreakpointSite(bp_site_sp.get()); in ReenableBreakpointSite()
H A DMemory.cpp26 m_process(process), in MemoryCache()
38 m_L2_cache_line_byte_size = m_process.GetMemoryCacheLineSize(); in Clear()
138 size_t process_bytes_read = m_process.ReadMemoryFromInferior( in GetL2CacheLine()
194 m_process.ReadMemoryFromInferior(addr, dst, dst_len, error); in Read()
345 : m_process(process), m_mutex(), m_memory_map() {} in AllocatedMemoryCache()
351 if (m_process.IsAlive() && deallocate_memory) { in Clear()
354 m_process.DoDeallocateMemory(pos->second->GetBaseAddress()); in Clear()
367 addr_t addr = m_process.DoAllocateMemory(page_byte_size, permissions, error); in AllocatePage()
H A DThreadPlanStepOut.cpp116 return_address = m_process.AdvanceAddressToNextBranchInstruction( in ThreadPlanStepOut()
121 m_return_addr = return_address.GetLoadAddress(&m_process.GetTarget()); in ThreadPlanStepOut()
128 if (!m_process.GetLoadAddressPermissions(m_return_addr, permissions)) { in ThreadPlanStepOut()
208 tmp_address.Dump(s, &m_process, Address::DumpStyleResolvedDescription, in GetDescription()
220 tmp_address.Dump(s, &m_process, Address::DumpStyleResolvedDescription, in GetDescription()
295 m_process.GetBreakpointSiteList().FindByID(stop_info_sp->GetValue())); in DoPlanExplainsStop()
515 lldb::ABISP abi_sp = m_process.GetABI(); in CalculateReturnValue()
H A DThreadPlanStepThrough.cpp53 m_process.GetTarget() in ThreadPlanStepThrough()
89 for (LanguageRuntime *runtime : m_process.GetLanguageRuntimes()) { in LookForPlanToStepThroughFromCurrentPC()
224 m_process.GetTarget().RemoveBreakpointByID(m_backstop_bkpt_id); in ClearBackstopBreakpoint()
250 m_process.GetBreakpointSiteList().FindByID(stop_value); in HitOurBackstopBreakpoint()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp109 m_process->GetTarget().RemoveBreakpointByID(m_dyld_bid); in ~DynamicLoaderHexagonDYLD()
129 m_process->SetCanJIT(false); in DidAttach()
132 m_process->SetCanInterpretFunctionCalls(true); in DidAttach()
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()
266 addr_t break_addr = findSymbolAddress(m_process, dyldBpName); in SetRendezvousBreakpoint()
268 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint()
318 Process *proc = dyld_instance->m_process; in RendezvousBreakpointHit()
[all …]
H A DHexagonDYLDRendezvous.cpp49 : m_process(process), m_rendezvous_addr(LLDB_INVALID_ADDRESS), m_current(), in HexagonDYLDRendezvous()
58 if (m_process) { in HexagonDYLDRendezvous()
59 Module *exe_mod = m_process->GetTarget().GetExecutableModulePointer(); in HexagonDYLDRendezvous()
73 address_size = m_process->GetAddressByteSize(); in Resolve()
77 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve()
224 *dst = m_process->ReadUnsignedIntegerFromMemory(addr, size, 0, error); in ReadWord()
234 *dst = m_process->ReadPointerFromMemory(addr, error); in ReadPointer()
238 return addr + m_process->GetAddressByteSize(); in ReadPointer()
251 size = m_process->ReadMemory(addr, &c, 1, error); in ReadStringFromMemory()
292 Target &target = m_process->GetTarget(); in FindMetadata()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/posix/
H A DHostProcessPosix.cpp32 if (m_process == kInvalidPosixProcess) { in Signal()
38 return HostProcessPosix::Signal(m_process, signo); in Signal()
52 lldb::pid_t HostProcessPosix::GetProcessId() const { return m_process; } in GetProcessId()
55 if (m_process == kInvalidPosixProcess) in IsRunning()
65 return Host::StartMonitoringChildProcess(callback, m_process); in StartMonitoring()
/freebsd/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp105 m_process->GetTarget().GetImages().FindTypes(nullptr, query, results); in GetTypeInfo()
340 Target &target = m_process->GetTarget(); in GetDynamicTypeAndAddress()
344 const uint32_t addr_byte_size = m_process->GetAddressByteSize(); in GetDynamicTypeAndAddress()
352 const int64_t offset_to_top = m_process->ReadSignedIntegerFromMemory( in GetDynamicTypeAndAddress()
360 if (!m_process->GetTarget().ResolveLoadAddress( in GetDynamicTypeAndAddress()
533 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter()
549 Target &target = m_process->GetTarget(); in CreateExceptionBreakpoint()
561 if (!m_process) in SetExceptionBreakpoints()
583 if (!m_process) in ClearExceptionBreakpoints()
597 if (!m_process) in ExceptionBreakpointsExplainStop()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRuntime.h17 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/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp114 assert(m_process == process); in GetObjectDescription()
246 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetPrintForDebuggerAddr()
330 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetFoundationVersion()
360 m_process->shared_from_this(), module_sp); in ReadObjCLibrary()
424 m_process->GetTarget(), GetLanguageType(), catch_bp, throw_bp, in SetExceptionBreakpoints()
433 if (!m_process) in ClearExceptionBreakpoints()
447 if (!m_process) in ExceptionBreakpointsExplainStop()
454 return m_process->GetBreakpointSiteList().StopPointSiteContainsBreakpoint( in ExceptionBreakpointsExplainStop()
459 if (!m_process) in CalculateHasNewLiteralsAndIndexing()
462 Target &target(m_process->GetTarget()); in CalculateHasNewLiteralsAndIndexing()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DDynamicLoader.cpp64 DynamicLoader::DynamicLoader(Process *process) : m_process(process) {} in DynamicLoader()
70 return m_process->GetStopOnSharedLibraryEvents(); in GetStopWhenImagesChange()
74 m_process->SetStopOnSharedLibraryEvents(stop); in SetStopWhenImagesChange()
78 Target &target = m_process->GetTarget(); in GetTargetExecutable()
120 module->SetLoadAddress(m_process->GetTarget(), base_addr, base_addr_is_offset, in UpdateLoadedSectionsCommon()
129 Target &target = m_process->GetTarget(); in UnloadSectionsCommon()
154 Target &target = m_process->GetTarget(); in FindModuleViaTarget()
351 m_process->ReadUnsignedIntegerFromMemory(addr, size_in_bytes, 0, error); in ReadUnsignedIntWithSizeInBytes()
360 addr_t value = m_process->ReadPointerFromMemory(addr, error); in ReadPointer()
369 if (m_process) in LoadOperatingSystemPlugin()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DHostNativeProcessBase.h27 HostNativeProcessBase() : m_process(LLDB_INVALID_PROCESS) {} in HostNativeProcessBase()
29 : m_process(process) {} in HostNativeProcessBase()
37 lldb::process_t GetSystemHandle() const { return m_process; } in GetSystemHandle()
43 lldb::process_t m_process;
/freebsd/contrib/llvm-project/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp155 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()
181 if (!DidSetJITBreakpoint() && m_process->IsAlive()) in ModulesDidLoad()
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()
293 size_t bytes_read = m_process->ReadMemory(m_jit_descriptor_addr, &jit_desc, in ReadJITDescriptorImpl()
310 if (!ReadJITEntry(jit_relevant_entry, m_process, &jit_entry)) { in ReadJITDescriptorImpl()
328 module_sp = m_process in ReadJITDescriptorImpl()
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/NetBSD/
H A DNativeThreadNetBSD.cpp45 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()
196 int mib[5] = {CTL_KERN, KERN_LWP, static_cast<int>(m_process.GetID()), in GetName()
/freebsd/contrib/llvm-project/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp148 m_process->GetID()); in GetDynamicRegisterInfo()
156 *dictionary, m_process->GetTarget().GetArchitecture()); in GetDynamicRegisterInfo()
175 m_process->GetID()); in UpdateThreadList()
262 thread_sp = std::make_shared<ThreadMemory>(*m_process, tid, name, queue, in CreateThreadFromThreadInfo()
342 Target &target = m_process->GetTarget(); in CreateRegisterContextForThread()
375 ThreadList core_threads(*m_process); in CreateThread()
376 ThreadList &thread_list = m_process->GetThreadList(); in CreateThread()
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/wasm-DYLD/
H A DDynamicLoaderWasmDYLD.cpp59 auto error = m_process->LoadModules(); in DidAttach()
75 if (ModuleSP module_sp = m_process->ReadModuleFromMemory(file, base_addr)) { in LoadModuleAtAddress()
77 m_process->GetTarget().GetImages().AppendIfNeeded(module_sp); in LoadModuleAtAddress()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DNSIndexPath.cpp175 m_process = &p; in SetIndexes()
182 if (!m_process) in GetIndexAtIndex()
204 m_process, v, ConstString(idx_name.GetString())); in GetIndexAtIndex()
211 m_process = nullptr; in Clear()
220 Process *m_process = nullptr; member
/freebsd/contrib/llvm-project/lldb/source/Plugins/DynamicLoader/Static/
H A DDynamicLoaderStatic.cpp80 const ModuleList &module_list = m_process->GetTarget().GetImages(); in LoadAllImagesAtFileAddresses()
85 m_process->SetCanJIT(false); in LoadAllImagesAtFileAddresses()
87 Target &target = m_process->GetTarget(); in LoadAllImagesAtFileAddresses()
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/common/
H A DNativeThreadProtocol.h41 NativeProcessProtocol &GetProcess() { return m_process; } in GetProcess()
60 NativeProcessProtocol &m_process;

123