[Lldb-commits] [PATCH] Remove dead code
Davide Italiano
davide at freebsd.org
Wed Apr 1 11:59:00 PDT 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D8761
Files:
lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
Index: lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
===================================================================
--- lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
+++ lldb/trunk/source/Plugins/Process/POSIX/ProcessPOSIX.cpp
@@ -36,39 +36,6 @@
using namespace lldb_private;
//------------------------------------------------------------------------------
-// Static functions.
-#if 0
-Process*
-ProcessPOSIX::CreateInstance(Target& target, Listener &listener)
-{
- return new ProcessPOSIX(target, listener);
-}
-
-
-void
-ProcessPOSIX::Initialize()
-{
- static bool g_initialized = false;
-
- if (!g_initialized)
- {
- g_initialized = true;
- PluginManager::RegisterPlugin(GetPluginNameStatic(),
- GetPluginDescriptionStatic(),
- CreateInstance);
-
- Log::Callbacks log_callbacks = {
- ProcessPOSIXLog::DisableLog,
- ProcessPOSIXLog::EnableLog,
- ProcessPOSIXLog::ListLogCategories
- };
-
- Log::RegisterLogChannel (ProcessPOSIX::GetPluginNameStatic(), log_callbacks);
- }
-}
-#endif
-
-//------------------------------------------------------------------------------
// Constructors and destructors.
ProcessPOSIX::ProcessPOSIX(Target& target, Listener &listener, UnixSignalsSP &unix_signals_sp)
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8761.23083.patch
Type: text/x-patch
Size: 1398 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150401/6df50bb2/attachment.bin>
More information about the lldb-commits
mailing list