[Lldb-commits] [lldb] r215405 - Remove a few uses of LLDB_DISABLE_POSIX.

Zachary Turner zturner at google.com
Mon Aug 11 15:59:51 PDT 2014


Author: zturner
Date: Mon Aug 11 17:59:50 2014
New Revision: 215405

URL: http://llvm.org/viewvc/llvm-project?rev=215405&view=rev
Log:
Remove a few uses of LLDB_DISABLE_POSIX.

This all appears to have been dead, unnecessary code.

Modified:
    lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp
    lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
    lldb/trunk/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
    lldb/trunk/source/Target/Process.cpp

Modified: lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp?rev=215405&r1=215404&r2=215405&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/Kalimba/PlatformKalimba.cpp Mon Aug 11 17:59:50 2014
@@ -12,12 +12,6 @@
 #include "PlatformKalimba.h"
 #include "lldb/Host/Config.h"
 
-// C Includes
-#include <stdio.h>
-#ifndef LLDB_DISABLE_POSIX
-#include <sys/utsname.h>
-#endif
-
 // C++ Includes
 // Other libraries and framework includes
 // Project includes

Modified: lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp?rev=215405&r1=215404&r2=215405&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp Mon Aug 11 17:59:50 2014
@@ -10,12 +10,6 @@
 #include "PlatformMacOSX.h"
 #include "lldb/Host/Config.h"
 
-// C Includes
-#ifndef LLDB_DISABLE_POSIX
-#include <sys/stat.h>
-#include <sys/sysctl.h>
-#endif
-
 // C++ Includes
 
 #include <sstream>

Modified: lldb/trunk/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp?rev=215405&r1=215404&r2=215405&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp (original)
+++ lldb/trunk/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp Mon Aug 11 17:59:50 2014
@@ -12,11 +12,6 @@
 #include "PlatformRemoteGDBServer.h"
 #include "lldb/Host/Config.h"
 
-// C Includes
-#ifndef LLDB_DISABLE_POSIX
-#include <sys/sysctl.h>
-#endif
-
 // C++ Includes
 // Other libraries and framework includes
 // Project includes

Modified: lldb/trunk/source/Target/Process.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Target/Process.cpp?rev=215405&r1=215404&r2=215405&view=diff
==============================================================================
--- lldb/trunk/source/Target/Process.cpp (original)
+++ lldb/trunk/source/Target/Process.cpp Mon Aug 11 17:59:50 2014
@@ -47,10 +47,6 @@
 #include "lldb/Target/ThreadPlanBase.h"
 #include "Plugins/Process/Utility/InferiorCallPOSIX.h"
 
-#ifndef LLDB_DISABLE_POSIX
-#include <spawn.h>
-#endif
-
 using namespace lldb;
 using namespace lldb_private;
 





More information about the lldb-commits mailing list