[PATCH] D113049: [AIX] Disable tests that fail because of no 64-bit XCOFF object file support

ChenZheng via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 15 17:20:42 PST 2021


shchenz added inline comments.


================
Comment at: clang/test/ClangScanDeps/modules-full-by-mod-name.cpp:1
+// UNSUPPORTED: powerpc64-ibm-aix
 // RUN: rm -rf %t.dir
----------------
Jake-Egan wrote:
> jsji wrote:
> > there is no `fmodule-format=obj` here, why are we failing here?
> > 
> They have the same error as the other tests:
> 
> ```
> 64-bit XCOFF object files are not supported yet.
> ```
Which RUN line causes the `64-bit XCOFF object files are not supported yet` assertion? NO `-emit-obj` or `fmodule-format=obj` found in all the RUN lines.


================
Comment at: clang/test/lit.cfg.py:253
+           # 64-bit object files are not supported on AIX, so exclude the tests.
+           if ('-emit-obj' in data or '-fmodule-format=obj' in data) and '64' in config.target_triple:
+               config.excludes += [ filename ]
----------------
Can we add `-fintegrated-as` here too?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D113049



More information about the cfe-commits mailing list