Home
last modified time | relevance | path

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

12

/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp1 //===-- 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 DNativeThreadProtocol.cpp17 NativeThreadProtocol::NativeThreadProtocol(NativeProcessProtocol &process, in NativeThreadProtocol()
H A DNativeRegisterContext.cpp14 #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 DGDBRemoteCommunicationServerLLGS.h34 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 DGDBRemoteCommunicationServerLLGS.cpp29 #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 DNativeProcessTestUtils.h12 #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 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/lldb/include/lldb/Host/common/
H A DNativeProcessProtocol.h49 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 DNativeThreadProtocol.h26 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 DNativeProcessNetBSD.h30 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 DNativeProcessELF.h22 class NativeProcessELF : public NativeProcessProtocol {
23 using NativeProcessProtocol::NativeProcessProtocol;
/llvm-project/lldb/source/Plugins/Process/Windows/Common/
H A DNativeProcessWindows.h30 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 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()
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 DNativeThreadWindows.cpp59 NativeProcessProtocol &process = GetProcess(); in DoResume()
104 NativeProcessProtocol &process = GetProcess(); in GetName()
/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.h33 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 DNativeProcessFreeBSD.cpp69 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 DIntelPTMultiCoreTrace.h46 NativeProcessProtocol &process,
97 NativeProcessProtocol &process, bool using_cgroup_filtering) in IntelPTMultiCoreTrace()
106 NativeProcessProtocol &m_process;
H A DIntelPTCollector.h33 IntelPTCollector(NativeProcessProtocol &process);
79 NativeProcessProtocol &m_process;
H A DNativeProcessLinux.h44 class Manager : public NativeProcessProtocol::Manager {
48 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
52 llvm::Expected<std::unique_ptr<NativeProcessProtocol>>
H A DNativeProcessLinux.cpp256 : 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 DIntelPTMultiCoreTrace.cpp38 NativeProcessProtocol &process, in StartOnAllCores()
/llvm-project/lldb/tools/lldb-server/
H A Dlldb-gdbserver.cpp27 #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 DNativeProcessSoftwareSingleStep.cpp23 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 Dlldb-private-forward.h14 class NativeProcessProtocol; variable
/llvm-project/llvm/utils/gn/secondary/lldb/source/Host/
H A DBUILD.gn35 "common/NativeProcessProtocol.cpp",

12