[clang] 989a5fe - [Driver][test] clang_f_opts.c: unsupport AIX

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 29 21:31:19 PDT 2023


Author: Fangrui Song
Date: 2023-07-29T21:31:15-07:00
New Revision: 989a5feb2ca7d3f63db6c3c33590cfd7596724a8

URL: https://github.com/llvm/llvm-project/commit/989a5feb2ca7d3f63db6c3c33590cfd7596724a8
DIFF: https://github.com/llvm/llvm-project/commit/989a5feb2ca7d3f63db6c3c33590cfd7596724a8.diff

LOG: [Driver][test] clang_f_opts.c: unsupport AIX

AIX prefers rejecting certain unimplemented features like
-fprofile-sample-use, making clang_f_opts.c (legacy test file testing
many miscellaneous features) not suitable. We could specify --target=,
but this style change is probably not the best for this legacy file.

Added: 
    

Modified: 
    clang/test/Driver/clang_f_opts.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/clang_f_opts.c b/clang/test/Driver/clang_f_opts.c
index cec93935eb3a95..a59496fb0b313d 100644
--- a/clang/test/Driver/clang_f_opts.c
+++ b/clang/test/Driver/clang_f_opts.c
@@ -1,4 +1,4 @@
-
+// UNSUPPORTED: target={{.*}}-aix{{.*}}
 // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fblocks -fbuiltin -fmath-errno -fcommon -fpascal-strings -fsplit-stack %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s
 // RUN: %clang -### -S -fasm -fblocks -fbuiltin -fno-math-errno -fcommon -fpascal-strings -fno-asm -fno-blocks -fno-builtin -fmath-errno -fno-common -fno-pascal-strings -fno-show-source-location -fshort-enums -fprotect-parens %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
 


        


More information about the cfe-commits mailing list