Home
last modified time | relevance | path

Searched refs:NativeProcessProtocol (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp27 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 DNativeThreadProtocol.cpp17 NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process, in NativeThreadProtocol()
H A DNativeRegisterContext.cpp356 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 DGDBRemoteCommunicationServerLLGS.h33 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 DGDBRemoteCommunicationServerLLGS.cpp465 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 DNativeProcessTestUtils.h22 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 DNativeProcessProtocolTest.cpp22 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 DNativeProcessProtocol.h48 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 DNativeThreadProtocol.h26 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 DNativeProcessELF.h21 class NativeProcessELF : public NativeProcessProtocol {
22 using NativeProcessProtocol::NativeProcessProtocol;
/llvm-project-15.0.7/lldb/source/Plugins/Process/Linux/
H A DIntelPTMultiCoreTrace.h48 NativeProcessProtocol &process,
99 NativeProcessProtocol &process, bool using_cgroup_filtering) in IntelPTMultiCoreTrace()
108 NativeProcessProtocol &m_process;
H A DIntelPTCollector.h36 IntelPTCollector(NativeProcessProtocol &process);
82 NativeProcessProtocol &m_process;
H A DNativeProcessLinux.h43 class Factory : public NativeProcessProtocol::Factory {
45 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
49 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
H A DNativeProcessLinux.cpp218 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 DIntelPTMultiCoreTrace.cpp38 NativeProcessProtocol &process, in StartOnAllCores()
/llvm-project-15.0.7/lldb/source/Plugins/Process/Windows/Common/
H A DNativeProcessWindows.h30 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 DNativeProcessWindows.cpp50 : 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 DNativeThreadWindows.cpp59 NativeProcessProtocol &process = GetProcess(); in DoResume()
104 NativeProcessProtocol &process = GetProcess(); in GetName()
/llvm-project-15.0.7/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.h30 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 DNativeProcessFreeBSD.h33 class Factory : public NativeProcessProtocol::Factory {
35 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
39 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
H A DNativeProcessFreeBSD.cpp53 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 DNativeProcessSoftwareSingleStep.cpp23 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 Dlldb-gdbserver.cpp74 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 Dlldb-private-forward.h14 class NativeProcessProtocol; variable
/llvm-project-15.0.7/llvm/utils/gn/secondary/lldb/source/Host/
H A DBUILD.gn33 "common/NativeProcessProtocol.cpp",

12