Remove dead code in ProcessPOSIX.
Differential Revision: http://reviews.llvm.org/D8761 llvm-svn: 233831
This commit is contained in:
parent
15f63420a7
commit
029838496f
|
@ -35,39 +35,6 @@
|
|||
using namespace lldb;
|
||||
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.
|
||||
|
||||
|
|
Loading…
Reference in New Issue