| /llvm-project/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 1 //===-- NativeProcessProtocol.cpp -----------------------------------------===// 9 #include "lldb/Host/common/NativeProcessProtocol.h" 26 // NativeProcessProtocol Members 28 NativeProcessProtocol::NativeProcessProtocol(lldb::pid_t pid, int terminal_fd, in NativeProcessProtocol() function in NativeProcessProtocol 34 lldb_private::Status NativeProcessProtocol::Interrupt() { in Interrupt() 44 Status NativeProcessProtocol::IgnoreSignals(llvm::ArrayRef<int> signals) { in IgnoreSignals() 51 NativeProcessProtocol::GetMemoryRegionInfo(lldb::addr_t load_addr, in GetMemoryRegionInfo() 58 NativeProcessProtocol::ReadMemoryTags(int32_t type, lldb::addr_t addr, in ReadMemoryTags() 64 NativeProcessProtocol [all...] |
| H A D | NativeThreadProtocol.cpp | 17 NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process, in NativeThreadProtocol()
|
| H A D | NativeRegisterContext.cpp | 14 #include "lldb/Host/common/NativeProcessProtocol.h" 28 // NativeProcessProtocol::GetStopID () and adding a stop id to 345 NativeProcessProtocol &process = m_thread.GetProcess(); in ReadRegisterValueFromMemory() 384 NativeProcessProtocol &process = m_thread.GetProcess(); in WriteRegisterValueToMemory()
|
| /llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerLLGS.h | 34 public NativeProcessProtocol::NativeDelegate { 39 NativeProcessProtocol::Manager &process_manager); 76 void InitializeDelegate(NativeProcessProtocol *process) override; 78 void ProcessStateChanged(NativeProcessProtocol *process, 81 void DidExec(NativeProcessProtocol *process) override; 84 NewSubprocess(NativeProcessProtocol *parent_process, 85 std::unique_ptr<NativeProcessProtocol> child_process) override; 96 std::unique_ptr<NativeProcessProtocol> process_up; 103 NativeProcessProtocol::Manager &m_process_manager; 106 NativeProcessProtocol *m_current_process; [all …]
|
| H A D | GDBRemoteCommunicationServerLLGS.cpp | 29 #include "lldb/Host/common/NativeProcessProtocol.h" 71 MainLoop &mainloop, NativeProcessProtocol::Manager &process_manager) in GDBRemoteCommunicationServerLLGS() 461 NativeProcessProtocol *process) { in InitializeDelegate() 467 "NativeProcessProtocol pid %" PRIu64 ", current state: %s", in InitializeDelegate() 475 NativeProcessProtocol *process) { in SendWResponse() 502 NativeProcessProtocol::Extension::multiprocess)) in SendWResponse() 730 GetJSONThreadsInfo(NativeProcessProtocol &process, bool abridged) { in GetJSONThreadsInfo() 801 NativeProcessProtocol &process = thread.GetProcess(); in PrepareStopReplyPacketForThread() 984 NativeProcessProtocol::Extension::multiprocess)); in PrepareStopReplyPacketForThread() 987 NativeProcessProtocol in PrepareStopReplyPacketForThread() [all...] |
| /llvm-project/lldb/unittests/TestingSupport/Host/ |
| H A D | NativeProcessTestUtils.h | 12 #include "lldb/Host/common/NativeProcessProtocol.h" 22 class MockDelegate : public NativeProcessProtocol::NativeDelegate { 24 MOCK_METHOD1(InitializeDelegate, void(NativeProcessProtocol *Process)); 26 void(NativeProcessProtocol *Process, StateType State)); 27 MOCK_METHOD1(DidExec, void(NativeProcessProtocol *Process)); 29 void(NativeProcessProtocol *parent_process, 30 std::unique_ptr<NativeProcessProtocol> &child_process)); 33 void NewSubprocess(NativeProcessProtocol *parent_process, in NewSubprocess() 34 std::unique_ptr<NativeProcessProtocol> child_process) { in NewSubprocess() 44 MockProcess(NativeProcessProtocol [all...] |
| /llvm-project/lldb/unittests/Host/ |
| H A D | NativeProcessProtocolTest.cpp | 22 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 36 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 47 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 62 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 78 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 103 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 119 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST() 135 MockProcess<NativeProcessProtocol> Process(DummyDelegate, in TEST()
|
| /llvm-project/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 49 class NativeProcessProtocol { 51 virtual ~NativeProcessProtocol() = default; 241 virtual void InitializeDelegate(NativeProcessProtocol *process) = 0; 243 virtual void ProcessStateChanged(NativeProcessProtocol *process, 246 virtual void DidExec(NativeProcessProtocol *process) = 0; 249 NewSubprocess(NativeProcessProtocol *parent_process, 250 std::unique_ptr<NativeProcessProtocol> child_process) = 0; 301 virtual llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 323 virtual llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 452 NativeProcessProtocol(lldb::pid_t pid, int terminal_fd,
|
| H A D | NativeThreadProtocol.h | 26 NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid); 41 NativeProcessProtocol &GetProcess() { return m_process; } in GetProcess() 60 NativeProcessProtocol &m_process;
|
| /llvm-project/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.h | 30 class Manager : public NativeProcessProtocol::Manager { 32 using NativeProcessProtocol::Manager::Manager; 34 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 38 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| /llvm-project/lldb/source/Plugins/Process/POSIX/ |
| H A D | NativeProcessELF.h | 22 class NativeProcessELF : public NativeProcessProtocol { 23 using NativeProcessProtocol::NativeProcessProtocol;
|
| /llvm-project/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | NativeProcessWindows.h | 30 class NativeProcessWindows : public NativeProcessProtocol, 34 class Manager : public NativeProcessProtocol::Manager { 36 using NativeProcessProtocol::Manager::Manager; 38 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 42 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| H A D | NativeProcessWindows.cpp | 50 : NativeProcessProtocol(LLDB_INVALID_PROCESS_ID, in NativeProcessWindows() 66 : NativeProcessProtocol(pid, terminal_fd, delegate), ProcessDebugger() { in NativeProcessWindows() 158 NativeProcessProtocol::GetThreadByID(thread_id)); in GetThreadByID() 307 return NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_hint); in GetSoftwareBreakpointTrapOpcode() 609 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> in Launch() 612 NativeProcessProtocol::NativeDelegate &native_delegate) { in Launch() 621 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> in Attach() 623 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) { in Attach()
|
| H A D | NativeThreadWindows.cpp | 59 NativeProcessProtocol &process = GetProcess(); in DoResume() 104 NativeProcessProtocol &process = GetProcess(); in GetName()
|
| /llvm-project/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.h | 33 class Manager : public NativeProcessProtocol::Manager { 35 using NativeProcessProtocol::Manager::Manager; 37 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 41 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| H A D | NativeProcessFreeBSD.cpp | 69 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> in Launch() 125 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> in Attach() 127 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) { in Attach() 451 return NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_hint); in Resume()
|
| /llvm-project/lldb/source/Plugins/Process/Linux/ |
| H A D | IntelPTMultiCoreTrace.h | 46 NativeProcessProtocol &process, 97 NativeProcessProtocol &process, bool using_cgroup_filtering) in IntelPTMultiCoreTrace() 106 NativeProcessProtocol &m_process;
|
| H A D | IntelPTCollector.h | 33 IntelPTCollector(NativeProcessProtocol &process); 79 NativeProcessProtocol &m_process;
|
| H A D | NativeProcessLinux.h | 44 class Manager : public NativeProcessProtocol::Manager { 48 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 52 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| H A D | NativeProcessLinux.cpp | 256 : NativeProcessProtocol::Manager(mainloop) { in Manager() 263 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 309 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 311 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate) { in Attach() 1619 return NativeProcessProtocol::RemoveBreakpoint(addr); in GetSoftwareBreakpointTrapOpcode() 1641 return NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_hint); in ReadMemory() 1881 NativeProcessProtocol::GetThreadByID(tid)); 1886 NativeProcessProtocol::GetCurrentThread()); 2028 return NativeProcessProtocol::TraceSupported(); 2041 return NativeProcessProtocol in TraceStart() [all...] |
| H A D | IntelPTMultiCoreTrace.cpp | 38 NativeProcessProtocol &process, in StartOnAllCores()
|
| /llvm-project/lldb/tools/lldb-server/ |
| H A D | lldb-gdbserver.cpp | 27 #include "lldb/Host/common/NativeProcessProtocol.h" 75 class NativeProcessManager : public NativeProcessProtocol::Manager { 78 : NativeProcessProtocol::Manager(mainloop) {} 80 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 82 NativeProcessProtocol::NativeDelegate &native_delegate) override { 85 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 87 NativeProcessProtocol::NativeDelegate &native_delegate) override {
|
| /llvm-project/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 23 NativeProcessProtocol &m_process; 29 EmulatorBaton(NativeProcessProtocol &process, in EmulatorBaton() 114 NativeProcessProtocol &process) { in SetupSoftwareSingleStepping() 132 NativeProcessProtocol &process = thread.GetProcess(); in SetupSoftwareSingleStepping()
|
| /llvm-project/lldb/include/lldb/ |
| H A D | lldb-private-forward.h | 14 class NativeProcessProtocol; variable
|
| /llvm-project/llvm/utils/gn/secondary/lldb/source/Host/ |
| H A D | BUILD.gn | 35 "common/NativeProcessProtocol.cpp",
|