LLDB mainline
|
#include <NativeProcessWindows.h>
Classes | |
class | Manager |
Public Member Functions | |
Status | Resume (const ResumeActionList &resume_actions) override |
Status | Halt () override |
Status | Detach () override |
Status | Signal (int signo) override |
Sends a process a UNIX signal signal. | |
Status | Interrupt () override |
Tells a process to interrupt all operations as if by a Ctrl-C. | |
Status | Kill () override |
Status | IgnoreSignals (llvm::ArrayRef< int > signals) override |
Status | GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info) override |
Status | ReadMemory (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) override |
Status | WriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written) override |
llvm::Expected< lldb::addr_t > | AllocateMemory (size_t size, uint32_t permissions) override |
llvm::Error | DeallocateMemory (lldb::addr_t addr) override |
lldb::addr_t | GetSharedLibraryInfoAddress () override |
bool | IsAlive () const override |
size_t | UpdateThreads () override |
const ArchSpec & | GetArchitecture () const override |
void | SetArchitecture (const ArchSpec &arch_spec) |
Status | SetBreakpoint (lldb::addr_t addr, uint32_t size, bool hardware) override |
Status | RemoveBreakpoint (lldb::addr_t addr, bool hardware=false) override |
llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > | GetAuxvData () const override |
Status | GetLoadedModuleFileSpec (const char *module_path, FileSpec &file_spec) override |
Status | GetFileLoadAddress (const llvm::StringRef &file_name, lldb::addr_t &load_addr) override |
void | OnExitProcess (uint32_t exit_code) override |
void | OnDebuggerConnected (lldb::addr_t image_base) override |
ExceptionResult | OnDebugException (bool first_chance, const ExceptionRecord &record) override |
void | OnCreateThread (const HostThread &thread) override |
void | OnExitThread (lldb::tid_t thread_id, uint32_t exit_code) override |
void | OnLoadDll (const ModuleSpec &module_spec, lldb::addr_t module_addr) override |
void | OnUnloadDll (lldb::addr_t module_addr) override |
Public Member Functions inherited from lldb_private::NativeProcessProtocol | |
virtual | ~NativeProcessProtocol ()=default |
virtual Status | Resume (const ResumeActionList &resume_actions)=0 |
virtual Status | Halt ()=0 |
virtual Status | Detach ()=0 |
virtual Status | Signal (int signo)=0 |
Sends a process a UNIX signal signal. | |
virtual Status | Interrupt () |
Tells a process to interrupt all operations as if by a Ctrl-C. | |
virtual Status | Kill ()=0 |
virtual Status | IgnoreSignals (llvm::ArrayRef< int > signals) |
virtual Status | GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info) |
virtual Status | ReadMemory (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read)=0 |
Status | ReadMemoryWithoutTrap (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) |
virtual Status | ReadMemoryTags (int32_t type, lldb::addr_t addr, size_t len, std::vector< uint8_t > &tags) |
virtual Status | WriteMemoryTags (int32_t type, lldb::addr_t addr, size_t len, const std::vector< uint8_t > &tags) |
llvm::Expected< llvm::StringRef > | ReadCStringFromMemory (lldb::addr_t addr, char *buffer, size_t max_size, size_t &total_bytes_read) |
Reads a null terminated string from memory. | |
virtual Status | WriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written)=0 |
virtual llvm::Expected< lldb::addr_t > | AllocateMemory (size_t size, uint32_t permissions) |
virtual llvm::Error | DeallocateMemory (lldb::addr_t addr) |
virtual lldb::addr_t | GetSharedLibraryInfoAddress ()=0 |
virtual llvm::Expected< std::vector< SVR4LibraryInfo > > | GetLoadedSVR4Libraries () |
virtual bool | IsAlive () const |
virtual size_t | UpdateThreads ()=0 |
virtual const ArchSpec & | GetArchitecture () const =0 |
virtual Status | SetBreakpoint (lldb::addr_t addr, uint32_t size, bool hardware)=0 |
virtual Status | RemoveBreakpoint (lldb::addr_t addr, bool hardware=false) |
virtual const HardwareBreakpointMap & | GetHardwareBreakpointMap () const |
virtual Status | SetHardwareBreakpoint (lldb::addr_t addr, size_t size) |
virtual Status | RemoveHardwareBreakpoint (lldb::addr_t addr) |
virtual const NativeWatchpointList::WatchpointMap & | GetWatchpointMap () const |
virtual std::optional< std::pair< uint32_t, uint32_t > > | GetHardwareDebugSupportInfo () const |
virtual Status | SetWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) |
virtual Status | RemoveWatchpoint (lldb::addr_t addr) |
lldb::pid_t | GetID () const |
lldb::StateType | GetState () const |
bool | IsRunning () const |
bool | IsStepping () const |
bool | CanResume () const |
lldb::ByteOrder | GetByteOrder () const |
uint32_t | GetAddressByteSize () const |
virtual llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > | GetAuxvData () const =0 |
virtual std::optional< WaitStatus > | GetExitStatus () |
virtual bool | SetExitStatus (WaitStatus status, bool bNotifyStateChange) |
NativeThreadProtocol * | GetThreadAtIndex (uint32_t idx) |
NativeThreadProtocol * | GetThreadByID (lldb::tid_t tid) |
void | SetCurrentThreadID (lldb::tid_t tid) |
lldb::tid_t | GetCurrentThreadID () const |
NativeThreadProtocol * | GetCurrentThread () |
ThreadIterable | Threads () const |
virtual int | GetTerminalFileDescriptor () |
uint32_t | GetStopID () const |
virtual Status | GetLoadedModuleFileSpec (const char *module_path, FileSpec &file_spec)=0 |
virtual Status | GetFileLoadAddress (const llvm::StringRef &file_name, lldb::addr_t &load_addr)=0 |
virtual void | NotifyTracersProcessWillResume () |
Notify tracers that the target process will resume. | |
virtual void | NotifyTracersProcessDidStop () |
Notify tracers that the target process just stopped. | |
virtual llvm::Error | TraceStart (llvm::StringRef json_params, llvm::StringRef type) |
Start tracing a process or its threads. | |
virtual llvm::Error | TraceStop (const TraceStopRequest &request) |
Stop tracing a live process or its threads. | |
virtual llvm::Expected< llvm::json::Value > | TraceGetState (llvm::StringRef type) |
Get the current tracing state of the process and its threads. | |
virtual llvm::Expected< std::vector< uint8_t > > | TraceGetBinaryData (const TraceGetBinaryDataRequest &request) |
Get binary data given a trace technology and a data identifier. | |
virtual llvm::Expected< TraceSupportedResponse > | TraceSupported () |
Get the processor tracing type supported for this process. | |
virtual void | SetEnabledExtensions (Extension flags) |
Method called in order to propagate the bitmap of protocol extensions supported by the client. | |
virtual llvm::Expected< std::string > | SaveCore (llvm::StringRef path_hint) |
Write a core dump (without crashing the program). | |
Public Member Functions inherited from lldb_private::ProcessDebugger | |
virtual | ~ProcessDebugger () |
virtual void | OnExitProcess (uint32_t exit_code) |
virtual void | OnDebuggerConnected (lldb::addr_t image_base) |
virtual ExceptionResult | OnDebugException (bool first_chance, const ExceptionRecord &record) |
virtual void | OnCreateThread (const HostThread &thread) |
virtual void | OnExitThread (lldb::tid_t thread_id, uint32_t exit_code) |
virtual void | OnLoadDll (const ModuleSpec &module_spec, lldb::addr_t module_addr) |
virtual void | OnUnloadDll (lldb::addr_t module_addr) |
virtual void | OnDebugString (const std::string &string) |
virtual void | OnDebuggerError (const Status &error, uint32_t type) |
Protected Member Functions | |
NativeThreadWindows * | GetThreadByID (lldb::tid_t thread_id) |
llvm::Expected< llvm::ArrayRef< uint8_t > > | GetSoftwareBreakpointTrapOpcode (size_t size_hint) override |
size_t | GetSoftwareBreakpointPCOffset () override |
Return the offset of the PC relative to the software breakpoint that was hit. | |
bool | FindSoftwareBreakpoint (lldb::addr_t addr) |
void | StopThread (lldb::tid_t thread_id, lldb::StopReason reason, std::string description="") |
void | SetStopReasonForThread (NativeThreadWindows &thread, lldb::StopReason reason, std::string description="") |
Protected Member Functions inherited from lldb_private::NativeProcessProtocol | |
NativeProcessProtocol (lldb::pid_t pid, int terminal_fd, NativeDelegate &delegate) | |
void | SetID (lldb::pid_t pid) |
void | SetState (lldb::StateType state, bool notify_delegates=true) |
virtual void | DoStopIDBumped (uint32_t newBumpId) |
Status | SetSoftwareBreakpoint (lldb::addr_t addr, uint32_t size_hint) |
Status | RemoveSoftwareBreakpoint (lldb::addr_t addr) |
virtual llvm::Expected< llvm::ArrayRef< uint8_t > > | GetSoftwareBreakpointTrapOpcode (size_t size_hint) |
virtual size_t | GetSoftwareBreakpointPCOffset () |
Return the offset of the PC relative to the software breakpoint that was hit. | |
void | FixupBreakpointPCAsNeeded (NativeThreadProtocol &thread) |
virtual void | NotifyDidExec () |
Notify the delegate that an exec occurred. | |
NativeThreadProtocol * | GetThreadByIDUnlocked (lldb::tid_t tid) |
Protected Member Functions inherited from lldb_private::ProcessDebugger | |
Status | DetachProcess () |
Status | LaunchProcess (ProcessLaunchInfo &launch_info, DebugDelegateSP delegate) |
Status | AttachProcess (lldb::pid_t pid, const ProcessAttachInfo &attach_info, DebugDelegateSP delegate) |
Status | DestroyProcess (lldb::StateType process_state) |
Status | HaltProcess (bool &caused_stop) |
Status | GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info) |
Status | ReadMemory (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read) |
Status | WriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written) |
Status | AllocateMemory (size_t size, uint32_t permissions, lldb::addr_t &addr) |
Status | DeallocateMemory (lldb::addr_t addr) |
lldb::pid_t | GetDebuggedProcessId () const |
Status | WaitForDebuggerConnection (DebuggerThreadSP debugger, HostProcess &process) |
Private Member Functions | |
NativeProcessWindows (ProcessLaunchInfo &launch_info, NativeDelegate &delegate, llvm::Error &E) | |
NativeProcessWindows (lldb::pid_t pid, int terminal_fd, NativeDelegate &delegate, llvm::Error &E) | |
Status | CacheLoadedModules () |
Private Attributes | |
ArchSpec | m_arch |
std::map< lldb_private::FileSpec, lldb::addr_t > | m_loaded_modules |
Definition at line 30 of file NativeProcessWindows.h.
|
private |
Definition at line 47 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::GetDebuggedProcessId(), lldb_private::ProcessDebugger::LaunchProcess(), lldb_private::NativeProcessProtocol::SetID(), and lldb_private::Status::ToError().
|
private |
Definition at line 63 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::AttachProcess(), lldb_private::ProcessInfo::GetArchitecture(), lldb_private::ProcessDebugger::GetDebuggedProcessId(), lldb_private::Host::GetProcessInfo(), m_arch, lldb_private::NativeProcessProtocol::SetID(), lldb_private::ProcessInfo::SetProcessID(), and lldb_private::Status::ToError().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 223 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::AllocateMemory(), lldb_private::Status::Success(), and lldb_private::Status::ToError().
|
private |
Definition at line 338 of file NativeProcessWindows.cpp.
References lldb::eErrorTypeWin32, error(), lldb_private::AutoHandle::get(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::FileSystem::Instance(), lldb_private::AutoHandle::IsValid(), m_loaded_modules, and lldb_private::FileSystem::Resolve().
Referenced by GetFileLoadAddress(), and GetLoadedModuleFileSpec().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 231 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::DeallocateMemory(), and lldb_private::Status::ToError().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 169 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::DetachProcess(), error(), lldb::eStateDetached, lldb::eStateExited, lldb_private::Status::FromErrorStringWithFormatv(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::GetLog(), lldb_private::NativeProcessProtocol::GetState(), LLDB_LOG, lldb_private::Process, and lldb_private::NativeProcessProtocol::SetState().
|
protected |
Definition at line 317 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::m_software_breakpoints.
Referenced by OnDebugException().
|
inlineoverridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 80 of file NativeProcessWindows.h.
References m_arch.
Referenced by GetSoftwareBreakpointTrapOpcode(), lldb_private::NativeThreadWindows::NativeThreadWindows(), and OnDebuggerConnected().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 288 of file NativeProcessWindows.cpp.
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 388 of file NativeProcessWindows.cpp.
References CacheLoadedModules(), error(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::Instance(), LLDB_INVALID_ADDRESS, m_loaded_modules, and lldb_private::FileSystem::Resolve().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 368 of file NativeProcessWindows.cpp.
References CacheLoadedModules(), error(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::FileSpec::GetPath(), lldb_private::FileSystem::Instance(), m_loaded_modules, and lldb_private::FileSystem::Resolve().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 207 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::GetMemoryRegionInfo().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 235 of file NativeProcessWindows.cpp.
|
overrideprotectedvirtual |
Return the offset of the PC relative to the software breakpoint that was hit.
If an architecture (e.g. arm) reports breakpoint hits before incrementing the PC, this offset will be 0. If an architecture (e.g. intel) reports breakpoints hits after incrementing the PC, this offset will be the size of the breakpoint opcode.
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 311 of file NativeProcessWindows.cpp.
References GetSoftwareBreakpointTrapOpcode().
Referenced by OnDebugException().
|
overrideprotectedvirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 294 of file NativeProcessWindows.cpp.
References GetArchitecture(), and lldb_private::NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode().
Referenced by GetSoftwareBreakpointPCOffset().
|
protected |
Definition at line 156 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::GetThreadByID().
Referenced by OnDebugException(), OnExitThread(), and StopThread().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 161 of file NativeProcessWindows.cpp.
References lldb::eStateStopped, lldb_private::NativeProcessProtocol::GetState(), and lldb_private::ProcessDebugger::HaltProcess().
Referenced by Interrupt().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 203 of file NativeProcessWindows.cpp.
|
overridevirtual |
Tells a process to interrupt all operations as if by a Ctrl-C.
The default implementation will send a local host's equivalent of a SIGSTOP to the process via the NativeProcessProtocol::Signal() operation.
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 196 of file NativeProcessWindows.cpp.
References Halt().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 237 of file NativeProcessWindows.cpp.
References lldb::eStateCrashed, lldb::eStateDetached, lldb::eStateExited, lldb::eStateInvalid, lldb::eStateUnloaded, and lldb_private::NativeProcessProtocol::GetState().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 198 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::DestroyProcess(), and lldb_private::NativeProcessProtocol::GetState().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 567 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::GetWatchpointMap(), lldb_private::NativeWatchpoint::m_addr, lldb_private::NativeWatchpoint::m_hardware, lldb_private::ProcessDebugger::m_mutex, lldb_private::NativeWatchpoint::m_size, lldb_private::NativeProcessProtocol::m_threads, and lldb_private::NativeWatchpoint::m_watch_flags.
Referenced by lldb_private::NativeDebugDelegate::OnCreateThread().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 449 of file NativeProcessWindows.cpp.
References error(), lldb::eStateStopped, lldb_private::Exception, FindSoftwareBreakpoint(), lldb_private::ExceptionRecord::GetExceptionAddress(), lldb_private::ExceptionRecord::GetExceptionCode(), lldb_private::GetLog(), GetSoftwareBreakpointPCOffset(), GetThreadByID(), lldb_private::ExceptionRecord::GetThreadID(), lldb_private::NativeRegisterContext::GetWatchpointAddress(), lldb_private::NativeRegisterContext::GetWatchpointHitAddress(), lldb_private::NativeRegisterContext::GetWatchpointHitIndex(), LLDB_INVALID_INDEX32, LLDB_LOG, lldb_private::ProcessDebugger::m_mutex, lldb_private::ProcessDebugger::OnDebugException(), pc, lldb_private::NativeProcessProtocol::SetState(), SetStopReasonForThread(), STATUS_WX86_BREAKPOINT, and StopThread().
Referenced by lldb_private::NativeDebugDelegate::OnDebugException().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 422 of file NativeProcessWindows.cpp.
References lldb_private::ProcessInfo::GetArchitecture(), GetArchitecture(), lldb_private::ProcessDebugger::GetDebuggedProcessId(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::GetLog(), lldb_private::Host::GetProcessInfo(), LLDB_INVALID_PROCESS_ID, LLDB_LOG, lldb_private::ProcessDebugger::m_session_data, lldb_private::NativeProcessProtocol::m_threads, lldb_private::Process, SetArchitecture(), and lldb_private::NativeProcessProtocol::SetID().
Referenced by lldb_private::NativeDebugDelegate::OnDebuggerConnected().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 408 of file NativeProcessWindows.cpp.
References lldb::eStateExited, lldb_private::WaitStatus::Exit, lldb_private::NativeProcessProtocol::GetID(), lldb_private::GetLog(), LLDB_LOG, lldb_private::ProcessDebugger::OnExitProcess(), lldb_private::Process, lldb_private::NativeProcessProtocol::SetExitStatus(), and lldb_private::NativeProcessProtocol::SetState().
Referenced by lldb_private::NativeDebugDelegate::OnExitProcess().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 581 of file NativeProcessWindows.cpp.
References GetThreadByID(), lldb_private::ProcessDebugger::m_mutex, and lldb_private::NativeProcessProtocol::m_threads.
Referenced by lldb_private::NativeDebugDelegate::OnExitThread().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 597 of file NativeProcessWindows.cpp.
References m_loaded_modules.
Referenced by lldb_private::NativeDebugDelegate::OnLoadDll().
|
overridevirtual |
Reimplemented from lldb_private::ProcessDebugger.
Definition at line 604 of file NativeProcessWindows.cpp.
References m_loaded_modules.
Referenced by lldb_private::NativeDebugDelegate::OnUnloadDll().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 212 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::ReadMemory().
|
overridevirtual |
Reimplemented from lldb_private::NativeProcessProtocol.
Definition at line 331 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::RemoveHardwareBreakpoint(), and lldb_private::NativeProcessProtocol::RemoveSoftwareBreakpoint().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 86 of file NativeProcessWindows.cpp.
References error(), lldb::eStateCrashed, lldb::eStateRunning, lldb::eStateStepping, lldb::eStateStopped, lldb::eStateSuspended, lldb_private::Status::Fail(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::ResumeActionList::GetActionForThread(), lldb_private::ProcessDebugger::GetDebuggedProcessId(), lldb_private::NativeProcessProtocol::GetID(), lldb_private::GetLog(), lldb_private::NativeProcessProtocol::GetState(), LLDB_LOG, lldb_private::ProcessDebugger::m_mutex, lldb_private::ProcessDebugger::m_session_data, lldb_private::NativeProcessProtocol::m_threads, lldb_private::Process, lldb_private::NativeProcessProtocol::SetState(), lldb_private::ResumeAction::state, and lldb_private::StateAsCString().
|
inline |
Definition at line 82 of file NativeProcessWindows.h.
References m_arch.
Referenced by OnDebuggerConnected().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 324 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::SetHardwareBreakpoint(), and lldb_private::NativeProcessProtocol::SetSoftwareBreakpoint().
|
protected |
Definition at line 251 of file NativeProcessWindows.cpp.
References lldb_private::ThreadStopInfo::data_count, lldb_private::ThreadStopInfo::details, lldb_private::ThreadStopInfo::exception, lldb_private::NativeThreadProtocol::GetID(), lldb_private::ThreadStopInfo::reason, lldb_private::NativeProcessProtocol::SetCurrentThreadID(), lldb_private::NativeThreadWindows::SetStopReason(), lldb_private::ThreadStopInfo::signo, SIGTRAP, and lldb_private::ThreadStopInfo::type.
Referenced by OnDebugException(), and StopThread().
|
overridevirtual |
Sends a process a UNIX signal signal.
Implements lldb_private::NativeProcessProtocol.
Definition at line 189 of file NativeProcessWindows.cpp.
References error(), and lldb_private::Status::FromErrorString().
|
protected |
Definition at line 269 of file NativeProcessWindows.cpp.
References error(), GetThreadByID(), lldb_private::NativeProcessProtocol::m_threads, and SetStopReasonForThread().
Referenced by OnDebugException().
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 285 of file NativeProcessWindows.cpp.
References lldb_private::NativeProcessProtocol::m_threads.
|
overridevirtual |
Implements lldb_private::NativeProcessProtocol.
Definition at line 217 of file NativeProcessWindows.cpp.
References lldb_private::ProcessDebugger::WriteMemory().
|
private |
Definition at line 127 of file NativeProcessWindows.h.
Referenced by GetArchitecture(), NativeProcessWindows(), and SetArchitecture().
|
private |
Definition at line 136 of file NativeProcessWindows.h.
Referenced by CacheLoadedModules(), GetFileLoadAddress(), GetLoadedModuleFileSpec(), OnLoadDll(), and OnUnloadDll().