Home
last modified time | relevance | path

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

12

/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp92 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
98 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
112 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
146 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
234 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in ProbeEntry()
243 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in ProbeEntry()
246 if (m_process) { in ProbeEntry()
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()
[all …]
H A DDYLDRendezvous.cpp109 if (m_process) { in DYLDRendezvous()
135 address_size = m_process->GetAddressByteSize(); in Resolve()
143 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve()
187 if (fromRemote && m_process->LoadModules(module_list) == 0) in UpdateSOEntries()
432 *dst = m_process->ReadPointerFromMemory(addr, error); in ReadPointer()
436 return addr + m_process->GetAddressByteSize(); in ReadPointer()
446 m_process->ReadCStringFromMemory(addr, str, error); in ReadStringFromMemory()
468 if (isLoadBiasIncorrect(m_process->GetTarget(), file_path)) { in UpdateBaseAddrIfNecessary()
489 const ArchSpec &arch = m_process->GetTarget().GetArchitecture(); in ReadSOEntryFromMemory()
525 Target &target = m_process->GetTarget(); in FindMetadata()
[all …]
H A DAuxVector.cpp38 if (m_process) in GetAuxvData()
39 return m_process->GetAuxvData(); in GetAuxvData()
45 const unsigned int byte_size = m_process->GetAddressByteSize(); in ParseAuxv()
64 AuxVector::AuxVector(Process *process) : m_process(process) { in AuxVector()
69 data.SetByteOrder(m_process->GetByteOrder()); in AuxVector()
70 data.SetAddressByteSize(m_process->GetAddressByteSize()); in AuxVector()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DDynamicLoader.cpp62 DynamicLoader::DynamicLoader(Process *process) : m_process(process) {} in DynamicLoader()
72 return m_process->GetStopOnSharedLibraryEvents(); in GetStopWhenImagesChange()
76 m_process->SetStopOnSharedLibraryEvents(stop); in SetStopWhenImagesChange()
80 Target &target = m_process->GetTarget(); in GetTargetExecutable()
131 Target &target = m_process->GetTarget(); in UnloadSectionsCommon()
159 Target &target = m_process->GetTarget(); in LoadModuleAtAddress()
194 Status error = m_process->GetMemoryRegionInfo(base_addr, memory_info); in LoadModuleAtAddress()
213 if ((module_sp = m_process->ReadModuleFromMemory(file, base_addr))) { in LoadModuleAtAddress()
234 addr_t value = m_process->ReadPointerFromMemory(addr, error); in ReadPointer()
243 if (m_process) in LoadOperatingSystemPlugin()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DThreadList.cpp31 : ThreadCollection(), m_process(rhs.m_process), m_stop_id(rhs.m_stop_id), in ThreadList()
44 m_process = rhs.m_process; in operator =()
85 m_process->UpdateThreadListIfNeeded(); in GetSize()
93 m_process->UpdateThreadListIfNeeded(); in GetThreadAtIndex()
105 m_process->UpdateThreadListIfNeeded(); in FindThreadByID()
123 m_process->UpdateThreadListIfNeeded(); in FindThreadByProtocolID()
141 m_process->UpdateThreadListIfNeeded(); in RemoveThreadByID()
360 m_process->UpdateThreadListIfNeeded(); in ShouldReportStop()
401 m_process->UpdateThreadListIfNeeded(); in SetShouldReportStop()
705 m_process = rhs.m_process; in Update()
[all …]
H A DMemory.cpp26 m_process(process), in MemoryCache()
40 m_L2_cache_line_byte_size = m_process.GetMemoryCacheLineSize(); in Clear()
163 m_process.ReadMemoryFromInferior(addr, dst, dst_len, error); in Read()
232 size_t process_bytes_read = m_process.ReadMemoryFromInferior( in Read()
328 : m_process(process), m_mutex(), m_memory_map() {} in AllocatedMemoryCache()
334 if (m_process.IsAlive()) { in Clear()
337 m_process.DoDeallocateMemory(pos->second->GetBaseAddress()); in Clear()
350 addr_t addr = m_process.DoAllocateMemory(page_byte_size, permissions, error); in AllocatePage()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DHostProcessPosix.cpp35 if (m_process == kInvalidPosixProcess) { in Signal()
41 return HostProcessPosix::Signal(m_process, signo); in Signal()
60 if (snprintf(link_path, PATH_MAX, "/proc/%" PRIu64 "/exe", m_process) != 1) { in GetMainModule()
80 lldb::pid_t HostProcessPosix::GetProcessId() const { return m_process; } in GetProcessId()
83 if (m_process == kInvalidPosixProcess) in IsRunning()
93 return Host::StartMonitoringChildProcess(callback, m_process, in StartMonitoring()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/
H A DDynamicLoaderHexagonDYLD.cpp136 m_process->SetCanJIT(false); in DidAttach()
139 m_process->SetCanInterpretFunctionCalls(true); in DidAttach()
155 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
171 Target &target = m_process->GetTarget(); in GetTargetExecutable()
218 Target &target = m_process->GetTarget(); in UpdateLoadedSections()
249 Target &target = m_process->GetTarget(); in UnloadSections()
275 Target &target = m_process->GetTarget(); in SetRendezvousBreakpoint()
327 Process *proc = dyld_instance->m_process; in RendezvousBreakpointHit()
384 m_process->GetTarget().ModulesDidLoad(new_modules); in RefreshModules()
501 m_process->GetTarget().ModulesDidLoad(module_list); in LoadAllCurrentModules()
[all …]
H A DHexagonDYLDRendezvous.cpp50 : m_process(process), m_rendezvous_addr(LLDB_INVALID_ADDRESS), m_current(), in HexagonDYLDRendezvous()
55 if (m_process) { in HexagonDYLDRendezvous()
56 Module *exe_mod = m_process->GetTarget().GetExecutableModulePointer(); in HexagonDYLDRendezvous()
70 address_size = m_process->GetAddressByteSize(); in Resolve()
74 cursor = info_addr = ResolveRendezvousAddress(m_process); in Resolve()
223 *dst = m_process->ReadUnsignedIntegerFromMemory(addr, size, 0, error); in ReadWord()
233 *dst = m_process->ReadPointerFromMemory(addr, error); in ReadPointer()
237 return addr + m_process->GetAddressByteSize(); in ReadPointer()
250 size = m_process->DoReadMemory(addr, &c, 1, error); in ReadStringFromMemory()
291 Target &target = m_process->GetTarget(); in FindMetadata()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCRuntime.cpp99 assert(m_process == process); in GetObjectDescription()
222 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetPrintForDebuggerAddr()
412 if (!m_process) in ClearExceptionBreakpoints()
426 if (!m_process) in ExceptionBreakpointsExplainStop()
438 if (!m_process) in CalculateHasNewLiteralsAndIndexing()
441 Target &target(m_process->GetTarget()); in CalculateHasNewLiteralsAndIndexing()
457 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter()
470 auto cpp_runtime = m_process->GetCPPLanguageRuntime(); in GetExceptionObjectForThread()
548 size_t ptr_size = m_process->GetAddressByteSize(); in GetBacktraceThreadFromException()
552 addr_t pc = m_process->ReadPointerFromMemory( in GetBacktraceThreadFromException()
[all …]
H A DAppleObjCRuntimeV2.cpp409 assert(m_process != NULL); in GetDynamicTypeAndAddress()
418 assert(process == m_process); in GetDynamicTypeAndAddress()
890 Target &target = m_process->GetTarget(); in GetByteOffsetForIvar()
913 ivar_offset = m_process->ReadUnsignedIntegerFromMemory( in GetByteOffsetForIvar()
933 m_buckets_ptr(LLDB_INVALID_ADDRESS), m_process(NULL), in RemoteNXMapTable()
946 m_process = process; in ParseHeader()
948 m_map_pair_size = m_process->GetAddressByteSize() * 2; in ParseHeader()
967 m_count = m_process->ReadUnsignedIntegerFromMemory( in ParseHeader()
1047 m_parent.m_process->ReadPointerFromMemory(pair_ptr, err); in operator *()
1051 pair_ptr + m_parent.m_process->GetAddressByteSize(), err); in operator *()
[all …]
H A DAppleObjCRuntimeV1.cpp360 const uint32_t addr_size = m_process->GetAddressByteSize(); in UpdateISAToDescriptorMapIfNeeded()
361 const ByteOrder byte_order = m_process->GetByteOrder(); in UpdateISAToDescriptorMapIfNeeded()
413 isa = m_process->ReadPointerFromMemory(isa_addr, error); in UpdateISAToDescriptorMapIfNeeded()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/
H A DItaniumABILanguageRuntime.cpp57 if (m_process && vtable_load_addr != LLDB_INVALID_ADDRESS) { in GetTypeInfoFromVTableAddress()
60 Target &target = m_process->GetTarget(); in GetTypeInfoFromVTableAddress()
480 Target &target = m_process->GetTarget(); in CreateExceptionSearchFilter()
496 Target &target = m_process->GetTarget(); in CreateExceptionBreakpoint()
508 if (!m_process) in SetExceptionBreakpoints()
530 if (!m_process) in ClearExceptionBreakpoints()
544 if (!m_process) in ExceptionBreakpointsExplainStop()
561 m_process->GetTarget().GetScratchClangASTContext(); in GetExceptionObjectForThread()
576 const ModuleList &modules = m_process->GetTarget().GetImages(); in GetExceptionObjectForThread()
587 m_process->GetTarget().GetFunctionCallerForLanguage( in GetExceptionObjectForThread()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DHostNativeProcessBase.h26 HostNativeProcessBase() : m_process(LLDB_INVALID_PROCESS) {} in HostNativeProcessBase()
28 : m_process(process) {} in HostNativeProcessBase()
37 lldb::process_t GetSystemHandle() const { return m_process; } in GetSystemHandle()
44 lldb::process_t m_process;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp125 m_process->GetID()); in GetDynamicRegisterInfo()
133 *dictionary, m_process->GetTarget().GetArchitecture())); in GetDynamicRegisterInfo()
167 Target &target = m_process->GetTarget(); in UpdateThreadList()
176 m_process->GetID()); in UpdateThreadList()
264 new ThreadMemory(*m_process, tid, name, queue, reg_data_addr)); in CreateThreadFromThreadInfo()
309 Target &target = m_process->GetTarget(); in CreateRegisterContextForThread()
396 Target &target = m_process->GetTarget(); in CreateThread()
406 ThreadList core_threads(m_process); in CreateThread()
407 ThreadList &thread_list = m_process->GetThreadList(); in CreateThread()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/JITLoader/GDB/
H A DJITLoaderGDB.cpp132 m_process->GetTarget().RemoveBreakpointByID(m_jit_break_id); in ~JITLoaderGDB()
147 Target &target = m_process->GetTarget(); in DidAttach()
153 Target &target = m_process->GetTarget(); in DidLaunch()
159 if (!DidSetJITBreakpoint() && m_process->IsAlive()) in ModulesDidLoad()
195 m_process->GetTarget().CreateBreakpoint(jit_addr, true, false).get(); in SetJITBreakpoint()
261 if (m_process->GetTarget().GetArchitecture().GetAddressByteSize() == 8) in ReadJITDescriptor()
273 Target &target = m_process->GetTarget(); in ReadJITDescriptorImpl()
279 size_t bytes_read = m_process->DoReadMemory(m_jit_descriptor_addr, &jit_desc, in ReadJITDescriptorImpl()
297 if (!ReadJITEntry(jit_relevant_entry, m_process, &jit_entry)) { in ReadJITDescriptorImpl()
316 module_sp = m_process->ReadModuleFromMemory( in ReadJITDescriptorImpl()
[all …]
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/DynamicLoader/Windows-DYLD/
H A DDynamicLoaderWindowsDYLD.cpp87 Status error = m_process->GetFileLoadAddress(file_spec, is_loaded, load_addr); in DidAttach()
95 m_process->GetTarget().ModulesDidLoad(module_list); in DidAttach()
96 m_process->LoadModules(); in DidAttach()
112 auto arch = m_process->GetTarget().GetArchitecture(); in GetStepThroughTrampolinePlan()
121 ExecutionContext exe_ctx(m_process->GetTarget()); in GetStepThroughTrampolinePlan()
/freebsd-12.1/contrib/llvm/tools/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()
113 if (m_process->GetTarget().SetSectionLoadAddress( in LoadAllImagesAtFileAddresses()
126 m_process->GetTarget().ModulesDidLoad(loaded_module_list); in LoadAllImagesAtFileAddresses()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/Language/ObjC/
H A DNSIndexPath.cpp177 m_process = &p; in SetIndexes()
184 if (!m_process) in GetIndexAtIndex()
206 m_process, v, ConstString(idx_name.GetString())); in GetIndexAtIndex()
213 m_process = nullptr; in Clear()
217 : m_indexes(0), m_count(0), m_ptr_size(0), m_process(nullptr) {} in InlinedIndexes()
223 Process *m_process; member
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Target/
H A DLanguageRuntime.h133 Process *GetProcess() { return m_process; } in GetProcess()
135 Target &GetTargetRef() { return m_process->GetTarget(); } in GetTargetRef()
171 Process *m_process; variable
H A DProcess.h2489 : m_process(process) { in ProcessEventHijacker()
2490 m_process.HijackProcessEvents(listener_sp); in ProcessEventHijacker()
2496 Process &m_process;
2907 NextEventAction(Process *process) : m_process(process) {} in NextEventAction()
2918 Process *m_process;
3247 Process *m_process; variable
3250 UtilityFunctionScope(Process *p) : m_process(p) { in UtilityFunctionScope()
3251 if (m_process) in UtilityFunctionScope()
3252 m_process->SetRunningUtilityFunction(true); in UtilityFunctionScope()
3255 if (m_process) in ~UtilityFunctionScope()
[all …]
H A DMemory.h67 Process &m_process; variable
147 Process &m_process; variable
H A DJITLoader.h78 Process *m_process;
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/common/
H A DNativeThreadProtocol.h40 NativeProcessProtocol &GetProcess() { return m_process; } in GetProcess()
58 NativeProcessProtocol &m_process;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DNativeThreadProtocol.cpp20 : m_process(process), m_tid(tid) {} in NativeThreadProtocol()

12