[Lldb-commits] [lldb] r238551 - [NativeProcessLinux] clean up #includes

Pavel Labath labath at google.com
Fri May 29 05:53:54 PDT 2015


Author: labath
Date: Fri May 29 07:53:54 2015
New Revision: 238551

URL: http://llvm.org/viewvc/llvm-project?rev=238551&view=rev
Log:
[NativeProcessLinux] clean up #includes

Modified:
    lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp
    lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h

Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp?rev=238551&r1=238550&r2=238551&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp (original)
+++ lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Fri May 29 07:53:54 2015
@@ -13,7 +13,7 @@
 
 // C Includes
 #include <errno.h>
-#include <poll.h>
+#include <semaphore.h>
 #include <string.h>
 #include <stdint.h>
 #include <unistd.h>
@@ -22,25 +22,23 @@
 #include <fstream>
 #include <sstream>
 #include <string>
+#include <unordered_map>
 
 // Other libraries and framework includes
-#include "lldb/Core/Debugger.h"
 #include "lldb/Core/EmulateInstruction.h"
 #include "lldb/Core/Error.h"
 #include "lldb/Core/Module.h"
 #include "lldb/Core/ModuleSpec.h"
 #include "lldb/Core/RegisterValue.h"
-#include "lldb/Core/Scalar.h"
 #include "lldb/Core/State.h"
 #include "lldb/Host/common/NativeBreakpoint.h"
 #include "lldb/Host/common/NativeRegisterContext.h"
 #include "lldb/Host/Host.h"
-#include "lldb/Host/HostInfo.h"
-#include "lldb/Host/HostNativeThread.h"
 #include "lldb/Host/ThreadLauncher.h"
-#include "lldb/Symbol/ObjectFile.h"
+#include "lldb/Target/Platform.h"
 #include "lldb/Target/Process.h"
 #include "lldb/Target/ProcessLaunchInfo.h"
+#include "lldb/Target/Target.h"
 #include "lldb/Utility/LLDBAssert.h"
 #include "lldb/Utility/PseudoTerminal.h"
 

Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h?rev=238551&r1=238550&r2=238551&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h (original)
+++ lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.h Fri May 29 07:53:54 2015
@@ -10,13 +10,7 @@
 #ifndef liblldb_NativeProcessLinux_H_
 #define liblldb_NativeProcessLinux_H_
 
-// C Includes
-#include <semaphore.h>
-#include <signal.h>
-
 // C++ Includes
-#include <mutex>
-#include <unordered_map>
 #include <unordered_set>
 
 // Other libraries and framework includes





More information about the lldb-commits mailing list