diff options
Diffstat (limited to 'lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h')
| -rw-r--r-- | lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h | 164 |
1 files changed, 82 insertions, 82 deletions
diff --git a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h index c0346cbc3d7..0642ff38ffb 100644 --- a/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h +++ b/lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.h @@ -16,88 +16,88 @@ // Project includes #include "PlatformDarwin.h" -namespace lldb_private { - - class PlatformMacOSX : public PlatformDarwin +class PlatformMacOSX : public PlatformDarwin +{ +public: + + //------------------------------------------------------------ + // Class functions + //------------------------------------------------------------ + static lldb_private::Platform* + CreateInstance (); + + static void + Initialize (); + + static void + Terminate (); + + static const char * + GetPluginNameStatic (); + + static const char * + GetShortPluginNameStatic(bool is_host); + + static const char * + GetDescriptionStatic(bool is_host); + + //------------------------------------------------------------ + // Class Methods + //------------------------------------------------------------ + PlatformMacOSX (bool is_host); + + virtual + ~PlatformMacOSX(); + + //------------------------------------------------------------ + // lldb_private::PluginInterface functions + //------------------------------------------------------------ + virtual const char * + GetPluginName() + { + return GetPluginNameStatic (); + } + + virtual const char * + GetShortPluginName() + { + return GetShortPluginNameStatic (IsHost()); + } + + virtual uint32_t + GetPluginVersion() + { + return 1; + } + + virtual const char * + GetDescription () { - public: - - //------------------------------------------------------------ - // Class functions - //------------------------------------------------------------ - static Platform* - CreateInstance (); - - static void - Initialize (); - - static void - Terminate (); - - static const char * - GetPluginNameStatic (); - - static const char * - GetShortPluginNameStatic(bool is_host); - - static const char * - GetDescriptionStatic(bool is_host); - - //------------------------------------------------------------ - // Class Methods - //------------------------------------------------------------ - PlatformMacOSX (bool is_host); - - virtual - ~PlatformMacOSX(); - - //------------------------------------------------------------ - // lldb_private::PluginInterface functions - //------------------------------------------------------------ - virtual const char * - GetPluginName() - { - return GetPluginNameStatic (); - } - - virtual const char * - GetShortPluginName() - { - return GetShortPluginNameStatic (IsHost()); - } - - virtual uint32_t - GetPluginVersion() - { - return 1; - } - - virtual const char * - GetDescription () - { - return GetDescriptionStatic (IsHost()); - } - - virtual Error - GetFile (const FileSpec &platform_file, - const UUID *uuid_ptr, - FileSpec &local_file); - - virtual uint32_t - FindProcessesByName (const char *name_match, - NameMatchType name_match_type, - ProcessInfoList &process_infos); - - virtual bool - GetProcessInfo (lldb::pid_t pid, ProcessInfo &proc_info); - - virtual bool - GetSupportedArchitectureAtIndex (uint32_t idx, ArchSpec &arch); - - private: - DISALLOW_COPY_AND_ASSIGN (PlatformMacOSX); - - }; -} // namespace lldb_private + return GetDescriptionStatic (IsHost()); + } + + virtual lldb_private::Error + GetFile (const lldb_private::FileSpec &platform_file, + const lldb_private::UUID *uuid_ptr, + lldb_private::FileSpec &local_file); + + lldb_private::Error + GetSharedModule (const lldb_private::FileSpec &platform_file, + const lldb_private::ArchSpec &arch, + const lldb_private::UUID *uuid_ptr, + const lldb_private::ConstString *object_name_ptr, + off_t object_offset, + lldb::ModuleSP &module_sp, + lldb::ModuleSP *old_module_sp_ptr, + bool *did_create_ptr); + + virtual bool + GetSupportedArchitectureAtIndex (uint32_t idx, + lldb_private::ArchSpec &arch); + +private: + DISALLOW_COPY_AND_ASSIGN (PlatformMacOSX); + +}; #endif // liblldb_PlatformMacOSX_h_ |

