//===-- ThreadWinMiniDump.h -------------------------------------*- C++ -*-===// // // The LLVM Compiler Infrastructure // // This file is distributed under the University of Illinois Open Source // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// #ifndef liblldb_ThreadWinMiniDump_h_ #define liblldb_ThreadWinMiniDump_h_ #include #include "lldb/Core/DataExtractor.h" #include "lldb/Target/Thread.h" class ThreadWinMiniDump : public lldb_private::Thread { public: ThreadWinMiniDump(lldb_private::Process &process, lldb::tid_t tid); virtual ~ThreadWinMiniDump(); void RefreshStateAfterStop() override; lldb::RegisterContextSP GetRegisterContext() override; lldb::RegisterContextSP CreateRegisterContextForFrame(lldb_private::StackFrame *frame) override; void ClearStackFrames() override; const char * GetName() override; void SetName(const char *name); protected: std::string m_thread_name; lldb::RegisterContextSP m_reg_context_sp; bool CalculateStopInfo() override; }; #endif