diff options
| author | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-10-21 20:03:58 +0000 |
|---|---|---|
| committer | Eugene Zelenko <eugene.zelenko@gmail.com> | 2015-10-21 20:03:58 +0000 |
| commit | 485ed3c64c80202d0276c37ab6121907ba6286ed (patch) | |
| tree | 17d143289a70471c01f352d67513d044c6c4ec1c /lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h | |
| parent | cfaeb42f9c593bcbac33177fd7482df5b4d0e1d0 (diff) | |
| download | llvm-485ed3c64c80202d0276c37ab6121907ba6286ed.zip llvm-485ed3c64c80202d0276c37ab6121907ba6286ed.tar.gz llvm-485ed3c64c80202d0276c37ab6121907ba6286ed.tar.bz2 | |
Revert r250925 in source/Plugins/OperatingSystem/Go to fix MSVC builds failures.
llvm-svn: 250937
Diffstat (limited to 'lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h')
| -rw-r--r-- | lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h index ad3cbb4..b543f61 100644 --- a/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h +++ b/lldb/source/Plugins/OperatingSystem/Go/OperatingSystemGo.h @@ -1,30 +1,24 @@ -//===-- OperatingSystemGo.h -------------------------------------*- C++ -*-===// +//===-- OperatingSystemGo.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_OperatingSystemGo_h_ #define _liblldb_OperatingSystemGo_h_ -// C Includes -// C++ Includes -// Other libraries and framework includes -// Project includes +#include <iostream> + #include "lldb/Target/OperatingSystem.h" class DynamicRegisterInfo; class OperatingSystemGo : public lldb_private::OperatingSystem { -public: - OperatingSystemGo(lldb_private::Process *process); - - ~OperatingSystemGo() override = default; - + public: //------------------------------------------------------------------ // Static Functions //------------------------------------------------------------------ @@ -41,32 +35,38 @@ public: static const char *GetPluginDescriptionStatic(); //------------------------------------------------------------------ + // Class Methods + //------------------------------------------------------------------ + OperatingSystemGo(lldb_private::Process *process); + + virtual ~OperatingSystemGo(); + + //------------------------------------------------------------------ // lldb_private::PluginInterface Methods //------------------------------------------------------------------ - lldb_private::ConstString GetPluginName() override; + virtual lldb_private::ConstString GetPluginName(); - uint32_t GetPluginVersion() override; + virtual uint32_t GetPluginVersion(); //------------------------------------------------------------------ // lldb_private::OperatingSystem Methods //------------------------------------------------------------------ - bool UpdateThreadList(lldb_private::ThreadList &old_thread_list, - lldb_private::ThreadList &real_thread_list, - lldb_private::ThreadList &new_thread_list) override; + virtual bool UpdateThreadList(lldb_private::ThreadList &old_thread_list, lldb_private::ThreadList &real_thread_list, + lldb_private::ThreadList &new_thread_list); - void ThreadWasSelected(lldb_private::Thread *thread) override; + virtual void ThreadWasSelected(lldb_private::Thread *thread); - lldb::RegisterContextSP CreateRegisterContextForThread(lldb_private::Thread *thread, - lldb::addr_t reg_data_addr) override; + virtual lldb::RegisterContextSP CreateRegisterContextForThread(lldb_private::Thread *thread, + lldb::addr_t reg_data_addr); - lldb::StopInfoSP CreateThreadStopReason(lldb_private::Thread *thread) override; + virtual lldb::StopInfoSP CreateThreadStopReason(lldb_private::Thread *thread); //------------------------------------------------------------------ // Method for lazy creation of threads on demand //------------------------------------------------------------------ - lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context) override; + virtual lldb::ThreadSP CreateThread(lldb::tid_t tid, lldb::addr_t context); -private: + private: struct Goroutine; static lldb::ValueObjectSP FindGlobal(lldb::TargetSP target, const char *name); @@ -82,4 +82,4 @@ private: lldb::ValueObjectSP m_allglen_sp; }; -#endif // liblldb_OperatingSystemGo_h_ +#endif // #ifndef liblldb_OperatingSystemGo_h_ |
