[Lldb-commits] [lldb] [lldb][AIX] get host info for AIX (PR #134354)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 4 01:45:56 PDT 2025


================
@@ -141,6 +141,7 @@ else()
     add_host_subdirectory(aix
       aix/Host.cpp
       aix/HostInfoAIX.cpp
+      linux/Support.cpp
----------------
labath wrote:

I'd move those functions into the `posix` folder given that other systems have similar functionality (besides AIX, freebsd also seems to have something similar, albeit deprecated). The functions don't do anything unless they are called, and they're quite simple, so it shouldn't hurt having them even if not all OSes have that functionality.

We might want to keep the three-arg overload (with pid+tid) linux specific -- I don't know if any other system has that.

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


More information about the lldb-commits mailing list