Lines Matching defs:NativeProcessWindows
1 //===-- NativeProcessWindows.cpp ------------------------------------------===//
12 #include "NativeProcessWindows.h"
47 NativeProcessWindows::NativeProcessWindows(ProcessLaunchInfo &launch_info,
63 NativeProcessWindows::NativeProcessWindows(lldb::pid_t pid, int terminal_fd,
86 Status NativeProcessWindows::Resume(const ResumeActionList &resume_actions) {
124 "NativeProcessWindows::%s (): unexpected state %s specified "
132 error = Status::FromErrorString("NativeProcessWindows::DoResume failed");
156 NativeProcessWindows::GetThreadByID(lldb::tid_t thread_id) {
161 Status NativeProcessWindows::Halt() {
169 Status NativeProcessWindows::Detach() {
189 Status NativeProcessWindows::Signal(int signo) {
196 Status NativeProcessWindows::Interrupt() { return Halt(); }
198 Status NativeProcessWindows::Kill() {
203 Status NativeProcessWindows::IgnoreSignals(llvm::ArrayRef<int> signals) {
207 Status NativeProcessWindows::GetMemoryRegionInfo(lldb::addr_t load_addr,
212 Status NativeProcessWindows::ReadMemory(lldb::addr_t addr, void *buf,
217 Status NativeProcessWindows::WriteMemory(lldb::addr_t addr, const void *buf,
223 NativeProcessWindows::AllocateMemory(size_t size, uint32_t permissions) {
231 llvm::Error NativeProcessWindows::DeallocateMemory(lldb::addr_t addr) {
235 lldb::addr_t NativeProcessWindows::GetSharedLibraryInfoAddress() { return 0; }
237 bool NativeProcessWindows::IsAlive() const {
251 void NativeProcessWindows::SetStopReasonForThread(NativeThreadWindows &thread,
269 void NativeProcessWindows::StopThread(lldb::tid_t thread_id,
285 size_t NativeProcessWindows::UpdateThreads() { return m_threads.size(); }
288 NativeProcessWindows::GetAuxvData() const {
294 NativeProcessWindows::GetSoftwareBreakpointTrapOpcode(size_t size_hint) {
311 size_t NativeProcessWindows::GetSoftwareBreakpointPCOffset() {
317 bool NativeProcessWindows::FindSoftwareBreakpoint(lldb::addr_t addr) {
324 Status NativeProcessWindows::SetBreakpoint(lldb::addr_t addr, uint32_t size,
331 Status NativeProcessWindows::RemoveBreakpoint(lldb::addr_t addr,
338 Status NativeProcessWindows::CacheLoadedModules() {
368 Status NativeProcessWindows::GetLoadedModuleFileSpec(const char *module_path,
388 NativeProcessWindows::GetFileLoadAddress(const llvm::StringRef &file_name,
408 void NativeProcessWindows::OnExitProcess(uint32_t exit_code) {
422 void NativeProcessWindows::OnDebuggerConnected(lldb::addr_t image_base) {
449 NativeProcessWindows::OnDebugException(bool first_chance,
567 void NativeProcessWindows::OnCreateThread(const HostThread &new_thread) {
581 void NativeProcessWindows::OnExitThread(lldb::tid_t thread_id,
597 void NativeProcessWindows::OnLoadDll(const ModuleSpec &module_spec,
604 void NativeProcessWindows::OnUnloadDll(lldb::addr_t module_addr) {
610 NativeProcessWindows::Manager::Launch(
614 auto process_up = std::unique_ptr<NativeProcessWindows>(
615 new NativeProcessWindows(launch_info, native_delegate, E));
622 NativeProcessWindows::Manager::Attach(
626 auto process_up = std::unique_ptr<NativeProcessWindows>(
627 new NativeProcessWindows(pid, -1, native_delegate, E));