16 : m_process(process) {}
20 process->OnExitProcess(exit_code);
25 process->OnDebuggerConnected(image_base);
32 return process->OnDebugException(first_chance, record);
34 return ExceptionResult::MaskException;
39 process->OnCreateThread(thread);
45 process->OnExitThread(thread_id, exit_code);
51 process->OnLoadDll(module_spec, module_addr);
56 process->OnUnloadDll(module_addr);
61 process->OnDebugString(
string);
66 process->OnDebuggerError(
error, type);
71 return std::static_pointer_cast<ProcessWindows>(process);
static llvm::raw_ostream & error(Stream &strm)
void OnExitProcess(uint32_t exit_code) override
ProcessWindowsSP GetProcessPointer()
void OnDebuggerError(const Status &error, uint32_t type) override
ExceptionResult OnDebugException(bool first_chance, const ExceptionRecord &record) override
void OnDebugString(const std::string &message) override
void OnExitThread(lldb::tid_t thread_id, uint32_t exit_code) override
void OnLoadDll(const lldb_private::ModuleSpec &module_spec, lldb::addr_t module_addr) override
LocalDebugDelegate(lldb::ProcessWP process)
void OnDebuggerConnected(lldb::addr_t image_base) override
lldb::ProcessWP m_process
void OnCreateThread(const HostThread &thread) override
void OnUnloadDll(lldb::addr_t module_addr) override
A class that represents a running process on the host machine.
std::shared_ptr< ProcessWindows > ProcessWindowsSP
std::shared_ptr< lldb_private::Process > ProcessSP
std::weak_ptr< lldb_private::Process > ProcessWP