[Lldb-commits] [lldb] [lldb] Clean up Socket headers for Android (PR #124453)

via lldb-commits lldb-commits at lists.llvm.org
Sat Jan 25 23:38:09 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Brad Smith (brad0)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/124453.diff


1 Files Affected:

- (modified) lldb/source/Host/common/Socket.cpp (-10) 


``````````diff
diff --git a/lldb/source/Host/common/Socket.cpp b/lldb/source/Host/common/Socket.cpp
index 296c2273ba419c..f35e5ff43595be 100644
--- a/lldb/source/Host/common/Socket.cpp
+++ b/lldb/source/Host/common/Socket.cpp
@@ -40,16 +40,6 @@
 #include "lldb/Host/linux/AbstractSocket.h"
 #endif
 
-#ifdef __ANDROID__
-#include <arpa/inet.h>
-#include <asm-generic/errno-base.h>
-#include <cerrno>
-#include <fcntl.h>
-#include <linux/tcp.h>
-#include <sys/syscall.h>
-#include <unistd.h>
-#endif // __ANDROID__
-
 using namespace lldb;
 using namespace lldb_private;
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/124453


More information about the lldb-commits mailing list