[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 07:23:36 PDT 2022


DiggerLin added a comment.

In D134284#3802763 <https://reviews.llvm.org/D134284#3802763>, @jhenderson wrote:

> Wouldn't it be better to change the lit config to specify the `OBJECT_MODE` environment variable on AIX?

I have tried it before, I added the following in clang/test/lit.cfg.py
if 'system-aix' in config.available_features:

  config.environment['OBJECT_MODE'] = 'any' 

it will cause  clang some problem in test cases. something like , clang do not know environment variable " OBJECT_MODE"


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