Hi Community Members,
We have Implemented the necessary code changes required to run LLDB on AIX.
Here is some background for you -
AIX is IBM’s Unix based operating system designed to run on IBM Power Enterprise Servers.
AIX is known for its robustness, scalability which makes it a popular choice for workload that require
reliable and high performance computing environment.
AIX has traditionally been using its own xlc compiler, however in the recent years there has been an increased support
and adaption of LLVM-based compiler. By leveraging LLVM, AIX can benefit from modern open-source compiler technology that
continues to evolve and is also supported in other targets.
Using LLDB on AIX allows developers to develop using advanced LLVM toolchains which aligns AIX to the open-source community
making it easy to integrate with LLVM based tools.
The goal of this support is to make AIX as a supported platform for LLDB.
We are excited to inform that we have successfully ported the LLDB project to AIX with the code changes as mentioned in this PR:
The porting process involved adding multiple Plugins for the required support on AIX such as:
AIX-DYLD, Object Container for AIX, XCOFF Support, Platform related support, lldb-server Plugins for AIX and few other things.
Other than some key differences related to PowerPC and XCOFF, a lot of the changes are derived from Linux and Posix.
More about these can be read from here:
- IBM Power AIX
- https://www.ibm.com/docs/en/aix/7.3?topic=formats-xcoff-object-file-format
- https://www.ibm.com/docs/en/aix/7.3?topic=storage-power-family-powerpc-architecture-overview
- IBM Documentation
We have been doing sanity tests for many of the basic functionalities/commands like breakpoint, run, disassembly, registers etc
and look forward to the enhanced possibilities of working with the community for fixing the issues we encounter in the process
and continue evolving LLDB on AIX.
Here are some people who will be the code owners on behalf of IBM:
1. dhruv.srivastava@ibm.com (Dhruv Srivastava)
2. lakshmi.kovvuri@ibm.com (Lakshmi Kovvuri)
3. suresana@in.ibm.com (Suresh A Kumar)
We request your inputs or feedbacks about our code changes. We would like our code to be a part of the next release of the LLDB Project
and actively involve in maintaining LLDB on AIX and the Community.
Thanks!