[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:37:08 PDT 2022
DiggerLin added a comment.
In D134284#3802791 <https://reviews.llvm.org/D134284#3802791>, @jhenderson wrote:
> In D134284#3802766 <https://reviews.llvm.org/D134284#3802766>, @DiggerLin wrote:
>
>> 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 some test cases. something like ,"clang-16: error: OBJECT_MODE setting any is not recognized and is not a valid setting"
>
> Not sure I entirely follow. If `OBJECT_MODE` isn't an environment variable that clang uses, surely it should ignore it? What clang tests throw this sort of error?
for example: clang/test/Parser/parser_overflow.c
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