[clang] XFAIL clang/Driver/compress.c on AIX (PR #87269)

via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 1 11:05:38 PDT 2024


https://github.com/azhan92 created https://github.com/llvm/llvm-project/pull/87269

This PR XFAIL's `clang/Driver/compress.c` on AIX since it requires the LLVM integrated assembler / assembly parser support, which is not available on AIX. 

>From cae3e372cba764854ced4d09bc975ab9614dfad0 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 1 Apr 2024 13:58:51 -0400
Subject: [PATCH 1/2] XFAIL Clang/Driver/compress.c

---
 clang/test/Driver/compress.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c
index 073bbe2afc8b95..bf99064436e725 100644
--- a/clang/test/Driver/compress.c
+++ b/clang/test/Driver/compress.c
@@ -1,4 +1,6 @@
-// REQUIRES: zlib
+// XFAIL: system-aix
+
+// // REQUIRES: zlib
 
 // RUN: %clang -### -fintegrated-as -Wa,-compress-debug-sections -c %s 2>&1 | FileCheck -check-prefix CHECK-_COMPRESS_DEBUG_SECTIONS %s
 // CHECK-_COMPRESS_DEBUG_SECTIONS: "-compress-debug-sections"

>From 7ed0d770b3048063b8a9dfc4293d98e0a880bfa6 Mon Sep 17 00:00:00 2001
From: Alison Zhang <alisonzhang at ibm.com>
Date: Mon, 1 Apr 2024 14:01:03 -0400
Subject: [PATCH 2/2] Add second xfail on aix

---
 clang/test/Driver/compress.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/clang/test/Driver/compress.c b/clang/test/Driver/compress.c
index bf99064436e725..51134352c5d2fb 100644
--- a/clang/test/Driver/compress.c
+++ b/clang/test/Driver/compress.c
@@ -1,6 +1,8 @@
 // XFAIL: system-aix
 
-// // REQUIRES: zlib
+// REQUIRES: zlib
+
+; XFAIL: target={{.*}}-aix{{.*}}
 
 // RUN: %clang -### -fintegrated-as -Wa,-compress-debug-sections -c %s 2>&1 | FileCheck -check-prefix CHECK-_COMPRESS_DEBUG_SECTIONS %s
 // CHECK-_COMPRESS_DEBUG_SECTIONS: "-compress-debug-sections"



More information about the cfe-commits mailing list