[PATCH] D101971: [AIX][Test][ORC] Skip unsupported ORC C API tests on AIX

Hubert Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 5 21:22:38 PDT 2021


hubert.reinterpretcast added a comment.

In D101971#2741103 <https://reviews.llvm.org/D101971#2741103>, @lhames wrote:

> Hi Hubert,
>
> It would be better to just disable these tests on AIX for now. You can do that by extending the `static bool isSupported(StringRef Triple)` method to return false for AIX.

Thanks. I'll update the patch to do this.

>> XCOFF backend does not support writing 64-bit object files...
>
> Is there some other object format that the JIT should be selecting?

Not really. There's only XCOFF in its 32-bit and 64-bit variations. We're building LLVM as a 64-bit application, so I think XCOFF64 is the right object format to select.

> Or is AIX not expected to produce JIT-linkable objects at all?

I'm not certain how capable it is at this time of producing JIT-linkable objects. We've been trying to enable functionality for building C/C++ applications using Clang on AIX (which we had set up to call out to the system assembler). The direct object code generation started out with XCOFF32 and we ended up building that out further and further without getting to the XCOFF64 side.

> - Lang.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101971/new/

https://reviews.llvm.org/D101971



More information about the llvm-commits mailing list