The modified tests fail because 64-bit XCOFF object files are not currently supported on AIX. This patch disables these tests on 64-bit AIX for now.
This patch is similar to D111887 except the failures on this patch are on a 64-bit build.
Paths
| Differential D113049
[AIX] Disable tests that fail because of no 64-bit XCOFF object file support ClosedPublic Authored by Jake-Egan on Nov 2 2021, 1:49 PM.
Details
Summary The modified tests fail because 64-bit XCOFF object files are not currently supported on AIX. This patch disables these tests on 64-bit AIX for now. This patch is similar to D111887 except the failures on this patch are on a 64-bit build.
Diff Detail
Event TimelineHerald added subscribers: ormris, lxfind, pengfei and 3 others. · View Herald TranscriptNov 2 2021, 1:49 PM Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 2 2021, 1:49 PM Comment Actions This seems not right. Now we disable too many debug cases for object mode even for 32bit target. Maybe we should test clang (built with --default-target-triple=powerpc64-ibm-aix) after our backend support 64-bit object mode(-filetype=obj) Comment Actions
If 64-bit XCOFF object files will be supported in the future, I think it makes more sense to use XFAIL because these tests will still be run and pass after implementation. Comment Actions
We should remove the UNSUPPORTED when we enable the 64-bit XCOFF object file support . It is a waste of machine time to run them *NOW*, especially considering the number of these failing tests. Comment Actions
Agree, I would prefer we do something similar to https://reviews.llvm.org/rG666accf283311c5110ae4e2e5e4c4b99078eed15#change-NFfZJdfkKBjR to exclude the unsupported files for now. Comment Actions Thanks for the review. I updated the patch to use lit.cfg.py to filter tests that use obj options. For tests that don't use the option or has an individual folder, I changed them to UNSUPPORTED instead of XFAIL.
Jake-Egan added inline comments.
Jake-Egan added inline comments.
Comment Actions Look almost good! Thanks for doing this.
This revision is now accepted and ready to land.Jan 6 2022, 5:21 PM This revision was landed with ongoing or failed builds.Jan 9 2022, 9:26 AM Closed by commit rGfbf52caf58b3: [AIX] Disable tests that fail because of no 64-bit XCOFF object file support (authored by Jake-Egan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 389849 clang/test/ASTMerge/anonymous-fields/test.cppclang/test/ASTMerge/codegen-body/test.c
clang/test/ASTMerge/injected-class-name-decl/test.cpp
clang/test/ClangScanDeps/modules-full-by-mod-name.cpp
clang/test/ClangScanDeps/resource_directory.c
clang/test/Driver/as-version.s
clang/test/Driver/cc-print-proc-stat.c
clang/test/Driver/compilation_database.c
clang/test/Driver/modules-ts.cpp
clang/test/Driver/report-stat.c
clang/test/lit.cfg.py
llvm/test/LTO/X86/remangle_intrinsics.ll
llvm/test/lit.cfg.py
llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
|
Do we still need this? -emit-obj is already excluded?