[Lldb-commits] [lldb] [lldb][AIX] Some base #if _AIX changes of a minimal lldb build (PR #120979)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 6 01:54:32 PST 2025


================
@@ -715,7 +715,7 @@ ConnectionFileDescriptor::ConnectFD(llvm::StringRef s,
 ConnectionStatus ConnectionFileDescriptor::ConnectFile(
     llvm::StringRef s, socket_id_callback_type socket_id_callback,
     Status *error_ptr) {
-#if LLDB_ENABLE_POSIX
+#if LLDB_ENABLE_POSIX && !defined(_AIX)
----------------
DavidSpickett wrote:

I'm not sure but I think narrowing the `#ifdef _AIX` just to the speed setting is the best idea anyway.

I doubt that the specific speed is important, so using the maximum is a decent choice (I suspect that it does not have any effect in many scenarios).

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


More information about the lldb-commits mailing list