| /llvm-project-15.0.7/lldb/source/Host/common/ |
| H A D | NativeProcessProtocol.cpp | 27 NativeProcessProtocol::NativeProcessProtocol(lldb::pid_t pid, int terminal_fd, in NativeProcessProtocol() function in NativeProcessProtocol 33 lldb_private::Status NativeProcessProtocol::Interrupt() { in Interrupt() 76 bool NativeProcessProtocol::SetExitStatus(WaitStatus status, in SetExitStatus() 120 bool NativeProcessProtocol::IsAlive() const { in IsAlive() 126 NativeProcessProtocol::GetWatchpointMap() const { in GetWatchpointMap() 231 NativeProcessProtocol::GetHardwareBreakpointMap() const { in GetHardwareBreakpointMap() 330 void NativeProcessProtocol::NotifyDidExec() { in NotifyDidExec() 421 llvm::Expected<NativeProcessProtocol::SoftwareBreakpoint> 568 void NativeProcessProtocol::FixupBreakpointPCAsNeeded( in FixupBreakpointPCAsNeeded() 735 uint32_t NativeProcessProtocol::GetStopID() const { in GetStopID() [all …]
|
| H A D | NativeThreadProtocol.cpp | 17 NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process, in NativeThreadProtocol()
|
| H A D | NativeRegisterContext.cpp | 356 NativeProcessProtocol &process = m_thread.GetProcess(); in ReadRegisterValueFromMemory() 393 NativeProcessProtocol &process = m_thread.GetProcess(); in WriteRegisterValueToMemory()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/gdb-remote/ |
| H A D | GDBRemoteCommunicationServerLLGS.h | 33 public NativeProcessProtocol::NativeDelegate { 38 const NativeProcessProtocol::Factory &process_factory); 77 void ProcessStateChanged(NativeProcessProtocol *process, 80 void DidExec(NativeProcessProtocol *process) override; 83 NewSubprocess(NativeProcessProtocol *parent_process, 95 std::unique_ptr<NativeProcessProtocol> process_up; 102 const NativeProcessProtocol::Factory &m_process_factory; 105 NativeProcessProtocol *m_current_process; 106 NativeProcessProtocol *m_continue_process; 128 PacketResult SendWResponse(NativeProcessProtocol *process); [all …]
|
| H A D | GDBRemoteCommunicationServerLLGS.cpp | 465 NativeProcessProtocol *process) { in InitializeDelegate() 479 NativeProcessProtocol *process) { in SendWResponse() 506 NativeProcessProtocol::Extension::multiprocess)) in SendWResponse() 801 NativeProcessProtocol &process = thread.GetProcess(); in PrepareStopReplyPacketForThread() 987 NativeProcessProtocol::Extension::fork)); in PrepareStopReplyPacketForThread() 1037 NativeProcessProtocol *process) { in HandleInferiorState_Exited() 1079 NativeProcessProtocol *process) { in HandleInferiorState_Stopped() 1145 NativeProcessProtocol *parent_process, in NewSubprocess() 2334 NativeProcessProtocol *default_process; in Handle_H() 4197 using Extension = NativeProcessProtocol::Extension; in HandleFeatures() [all …]
|
| /llvm-project-15.0.7/lldb/unittests/TestingSupport/Host/ |
| H A D | NativeProcessTestUtils.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::NativeDelegate &Delegate,
|
| /llvm-project-15.0.7/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-15.0.7/lldb/include/lldb/Host/common/ |
| H A D | NativeProcessProtocol.h | 48 class NativeProcessProtocol { 50 virtual ~NativeProcessProtocol() = default; 240 virtual void InitializeDelegate(NativeProcessProtocol *process) = 0; 242 virtual void ProcessStateChanged(NativeProcessProtocol *process, 245 virtual void DidExec(NativeProcessProtocol *process) = 0; 248 NewSubprocess(NativeProcessProtocol *parent_process, 249 std::unique_ptr<NativeProcessProtocol> child_process) = 0; 295 virtual llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 317 virtual llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 444 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-15.0.7/lldb/source/Plugins/Process/POSIX/ |
| H A D | NativeProcessELF.h | 21 class NativeProcessELF : public NativeProcessProtocol { 22 using NativeProcessProtocol::NativeProcessProtocol;
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/ |
| H A D | IntelPTMultiCoreTrace.h | 48 NativeProcessProtocol &process, 99 NativeProcessProtocol &process, bool using_cgroup_filtering) in IntelPTMultiCoreTrace() 108 NativeProcessProtocol &m_process;
|
| H A D | IntelPTCollector.h | 36 IntelPTCollector(NativeProcessProtocol &process); 82 NativeProcessProtocol &m_process;
|
| H A D | NativeProcessLinux.h | 43 class Factory : public NativeProcessProtocol::Factory { 45 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 49 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| H A D | NativeProcessLinux.cpp | 218 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 270 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 272 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate, in Attach() 1501 return NativeProcessProtocol::RemoveBreakpoint(addr); in RemoveBreakpoint() 1765 NativeProcessProtocol::GetThreadByID(tid)); in GetThreadByID() 1770 NativeProcessProtocol::GetCurrentThread()); in GetCurrentThread() 1973 return NativeProcessProtocol::TraceSupported(); in TraceSupported() 1986 return NativeProcessProtocol::TraceStart(json_request, type); in TraceStart() 1992 return NativeProcessProtocol::TraceStop(request); in TraceStop() 1998 return NativeProcessProtocol::TraceGetState(type); in TraceGetState() [all …]
|
| H A D | IntelPTMultiCoreTrace.cpp | 38 NativeProcessProtocol &process, in StartOnAllCores()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/ |
| H A D | NativeProcessWindows.h | 30 class NativeProcessWindows : public NativeProcessProtocol, 34 class Factory : public NativeProcessProtocol::Factory { 36 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 40 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() 305 return NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_hint); in GetSoftwareBreakpointTrapOpcode() 605 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 608 NativeProcessProtocol::NativeDelegate &native_delegate, in Launch() 618 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 620 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-15.0.7/lldb/source/Plugins/Process/NetBSD/ |
| H A D | NativeProcessNetBSD.h | 30 class Factory : public NativeProcessProtocol::Factory { 32 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 36 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/FreeBSD/ |
| H A D | NativeProcessFreeBSD.h | 33 class Factory : public NativeProcessProtocol::Factory { 35 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 39 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
|
| H A D | NativeProcessFreeBSD.cpp | 53 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 107 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 109 lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &native_delegate, in Attach() 428 return NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode(size_hint); in GetSoftwareBreakpointTrapOpcode()
|
| /llvm-project-15.0.7/lldb/source/Plugins/Process/Utility/ |
| H A D | NativeProcessSoftwareSingleStep.cpp | 23 NativeProcessProtocol &m_process; 29 EmulatorBaton(NativeProcessProtocol &process, in EmulatorBaton() 100 NativeProcessProtocol &process = thread.GetProcess(); in SetupSoftwareSingleStepping()
|
| /llvm-project-15.0.7/lldb/tools/lldb-server/ |
| H A D | lldb-gdbserver.cpp | 74 class NativeProcessFactory : public NativeProcessProtocol::Factory { 76 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 78 NativeProcessProtocol::NativeDelegate &delegate, 82 llvm::Expected<std::unique_ptr<NativeProcessProtocol>> 83 Attach(lldb::pid_t pid, NativeProcessProtocol::NativeDelegate &delegate,
|
| /llvm-project-15.0.7/lldb/include/lldb/ |
| H A D | lldb-private-forward.h | 14 class NativeProcessProtocol; variable
|
| /llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Host/ |
| H A D | BUILD.gn | 33 "common/NativeProcessProtocol.cpp",
|