[PATCH] D134284: [AIX] change the clang tests with llvm-nm -Xany

Digger Lin via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 20 08:15:12 PDT 2022


DiggerLin added a comment.

In D134284#3802806 <https://reviews.llvm.org/D134284#3802806>, @daltenty wrote:

>> If OBJECT_MODE isn't an environment variable that clang uses, surely it should ignore it?
>
> The clang driver does in fact respect OBJECT_MODE on AIX, but I'm guessing it doesn't accept the `any` setting (since it doesn't really make sense in that context).
>
> Maybe it's better to leave the `llvm-nm` default as `any` even on AIX? It doesn't match the system 'nm' but other wise we diverge from the `llvm-nm` behaviour on other platforms it seems, and cause these test issues.

if change to default is Xany, the default value will be different with llvm-ar -X option(default value is -X32), that means llvm tool has different default -X option value on AIX OS.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134284



More information about the cfe-commits mailing list