diff options
| author | Tamas Berghammer <tberghammer@google.com> | 2015-03-31 09:52:22 +0000 |
|---|---|---|
| committer | Tamas Berghammer <tberghammer@google.com> | 2015-03-31 09:52:22 +0000 |
| commit | db264a6d09b04f6794e786078bf727c1c10c798a (patch) | |
| tree | 9da2cc27520248bda09229b65a3c1b5b8fc68964 /lldb/source/Plugins/Platform/Linux/PlatformLinux.h | |
| parent | 96d1779e23fad278e9f48ebb0ae6450e7395d6e7 (diff) | |
| download | bcm5719-llvm-db264a6d09b04f6794e786078bf727c1c10c798a.tar.gz bcm5719-llvm-db264a6d09b04f6794e786078bf727c1c10c798a.zip | |
Move several plugin to its own namespace
Affected paths:
* Plugins/Platform/Android/*
* Plugins/Platform/Linux/*
* Plugins/Platform/gdb-server/*
* Plugins/Process/Linux/*
* Plugins/Process/gdb-remote/*
Differential revision: http://reviews.llvm.org/D8654
llvm-svn: 233679
Diffstat (limited to 'lldb/source/Plugins/Platform/Linux/PlatformLinux.h')
| -rw-r--r-- | lldb/source/Plugins/Platform/Linux/PlatformLinux.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/lldb/source/Plugins/Platform/Linux/PlatformLinux.h b/lldb/source/Plugins/Platform/Linux/PlatformLinux.h index c9140b4aba6..626b58fe509 100644 --- a/lldb/source/Plugins/Platform/Linux/PlatformLinux.h +++ b/lldb/source/Plugins/Platform/Linux/PlatformLinux.h @@ -17,13 +17,14 @@ #include "Plugins/Platform/POSIX/PlatformPOSIX.h" namespace lldb_private { +namespace platform_linux { class PlatformLinux : public PlatformPOSIX { public: static void - DebuggerInitialize (lldb_private::Debugger &debugger); + DebuggerInitialize (Debugger &debugger); static void Initialize (); @@ -40,15 +41,15 @@ namespace lldb_private { // lldb_private::PluginInterface functions //------------------------------------------------------------ static lldb::PlatformSP - CreateInstance (bool force, const lldb_private::ArchSpec *arch); + CreateInstance (bool force, const ArchSpec *arch); - static lldb_private::ConstString + static ConstString GetPluginNameStatic (bool is_host); static const char * GetPluginDescriptionStatic (bool is_host); - lldb_private::ConstString + ConstString GetPluginName() override; uint32_t @@ -61,7 +62,7 @@ namespace lldb_private { // lldb_private::Platform functions //------------------------------------------------------------ Error - ResolveExecutable (const lldb_private::ModuleSpec &module_spec, + ResolveExecutable (const ModuleSpec &module_spec, lldb::ModuleSP &module_sp, const FileSpecList *module_search_paths_ptr) override; @@ -110,12 +111,12 @@ namespace lldb_private { Error LaunchNativeProcess ( ProcessLaunchInfo &launch_info, - lldb_private::NativeProcessProtocol::NativeDelegate &native_delegate, + NativeProcessProtocol::NativeDelegate &native_delegate, NativeProcessProtocolSP &process_sp) override; Error AttachNativeProcess (lldb::pid_t pid, - lldb_private::NativeProcessProtocol::NativeDelegate &native_delegate, + NativeProcessProtocol::NativeDelegate &native_delegate, NativeProcessProtocolSP &process_sp) override; static bool @@ -124,6 +125,8 @@ namespace lldb_private { private: DISALLOW_COPY_AND_ASSIGN (PlatformLinux); }; + +} // namespace platform_linux } // namespace lldb_private #endif // liblldb_PlatformLinux_h_ |

