[all-commits] [llvm/llvm-project] d1bb8d: [lldb][AIX] get host info for AIX (#134354)

Hemang Gadhavi via All-commits all-commits at lists.llvm.org
Mon Apr 28 22:53:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1bb8d6a5c4a36490298ca75d144805179cc3b40
      https://github.com/llvm/llvm-project/commit/d1bb8d6a5c4a36490298ca75d144805179cc3b40
  Author: Hemang Gadhavi <hemang.gadhavi at ibm.com>
  Date:   2025-04-29 (Tue, 29 Apr 2025)

  Changed paths:
    M lldb/include/lldb/Host/linux/Support.h
    A lldb/include/lldb/Host/posix/Support.h
    M lldb/source/Host/CMakeLists.txt
    M lldb/source/Host/aix/Host.cpp
    M lldb/source/Host/linux/Host.cpp
    M lldb/source/Host/linux/Support.cpp
    A lldb/source/Host/posix/Support.cpp
    M lldb/source/Plugins/Process/AIX/NativeProcessAIX.h
    M lldb/source/Plugins/Process/Linux/IntelPTCollector.cpp
    M lldb/source/Plugins/Process/Linux/NativeProcessLinux.h
    M lldb/source/Plugins/Process/Linux/Perf.cpp
    M lldb/source/Plugins/Process/Linux/Procfs.cpp
    M lldb/unittests/Host/CMakeLists.txt
    R lldb/unittests/Host/linux/HostTest.cpp
    R lldb/unittests/Host/linux/SupportTest.cpp
    A lldb/unittests/Host/posix/HostTest.cpp
    A lldb/unittests/Host/posix/SupportTest.cpp
    M lldb/unittests/Process/Linux/ProcfsTests.cpp

  Log Message:
  -----------
  [lldb][AIX] get host info for AIX (#134354)

This PR is in reference to porting LLDB on AIX.

Link to discussions on llvm discourse and github:

1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601

- Added changes to make the common host support functions under
`Host/posix` for unix-like system.
Also, created the `unittests/Host/posix/` to test the hostInfo & support
functions for unix-like system.
- Added changes to get the host information for AIX. (GetProcessInfo()) 
(Information like : executable path, arch, process status etc.)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list