Port LLDB to IBM AIX

This typically means lldb python support didn’t get included, which is probably because swig isn’t installed. You can get swig from http://swig.org . There will be lines in the cmake output that say what python it finds, if it can find dev python, and if it can find swig.

You’ll definitely want to see check-lldb-api for AIX. My team is currently working on API tests for RISC-V (using QEMU) and lldb-server running on QNX. Running these tests has found some bugs that didn’t show up in manual testing.

Oh yeah good catch.

Also -DLLDB_ENABLE_PYTHON=ON will force cmake to error if a suitable Python is not found.

If Swig isn’t working on AIX yet, you could run the API tests with AIX as the remote target instead. From some host where Swig does work.

Ohh, Thats really helpful,
We were wondering why is this so.
Thanks Ted!! I will give it a go.

It was not working for us on Linux PPC64 or Mac as well. I guess for the same reason.
Sure, will try it out. Thanks!!
:slight_smile: