[compiler-rt] 93bb2f1 - XFAIL some PGO tests on AIX until the new linker becomes publicly available.
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Thu May 5 18:35:41 PDT 2022
Author: Wael Yehia
Date: 2022-05-06T01:35:32Z
New Revision: 93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b
URL: https://github.com/llvm/llvm-project/commit/93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b
DIFF: https://github.com/llvm/llvm-project/commit/93bb2f16e85d2d4c8d3ddadebd99fc0fe26d974b.diff
LOG: XFAIL some PGO tests on AIX until the new linker becomes publicly available.
Added:
Modified:
compiler-rt/test/profile/Posix/gcov-destructor.c
compiler-rt/test/profile/Posix/gcov-execlp.c
compiler-rt/test/profile/Posix/gcov-fork.c
compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
compiler-rt/test/profile/gcov-__gcov_flush-terminate.c
compiler-rt/test/profile/gcov-basic.c
compiler-rt/test/profile/gcov-complex-line.c
compiler-rt/test/profile/gcov-dump-and-remove.c
compiler-rt/test/profile/infinite_loop.c
compiler-rt/test/profile/instrprof-coverage.c
compiler-rt/test/profile/instrprof-gcov-exceptions.test
compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
compiler-rt/test/profile/instrprof-gcov-multithread_fork.test
compiler-rt/test/profile/instrprof-gcov-one-line-function.test
compiler-rt/test/profile/instrprof-gcov-switch.test
compiler-rt/test/profile/instrprof-gcov-two-objects.test
compiler-rt/test/profile/instrprof-get-filename.c
compiler-rt/test/profile/instrprof-icall-promo.test
compiler-rt/test/profile/instrprof-merge-entry-cover.c
compiler-rt/test/profile/instrprof-path.c
compiler-rt/test/profile/instrprof-set-dir-mode.c
compiler-rt/test/profile/runtime_infinite.c
Removed:
################################################################################
diff --git a/compiler-rt/test/profile/Posix/gcov-destructor.c b/compiler-rt/test/profile/Posix/gcov-destructor.c
index c6fa144bcb39f..8cd9712d236b0 100644
--- a/compiler-rt/test/profile/Posix/gcov-destructor.c
+++ b/compiler-rt/test/profile/Posix/gcov-destructor.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
/// Test that destructors and destructors whose priorities are greater than 100 are tracked.
// RUN: mkdir -p %t.dir && cd %t.dir
// RUN: %clang --coverage %s -o %t
diff --git a/compiler-rt/test/profile/Posix/gcov-execlp.c b/compiler-rt/test/profile/Posix/gcov-execlp.c
index 362f59516d217..805710ead3898 100644
--- a/compiler-rt/test/profile/Posix/gcov-execlp.c
+++ b/compiler-rt/test/profile/Posix/gcov-execlp.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
/// A basic block with fork/exec* is split. .gcda is flushed immediately before
/// fork/exec* so the lines before exec* are counted once while succeeding
/// lines are not counted.
diff --git a/compiler-rt/test/profile/Posix/gcov-fork.c b/compiler-rt/test/profile/Posix/gcov-fork.c
index e66690a961e2e..e389ac5de648b 100644
--- a/compiler-rt/test/profile/Posix/gcov-fork.c
+++ b/compiler-rt/test/profile/Posix/gcov-fork.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
/// A basic block with fork/exec* is split. .gcda is flushed immediately before
/// fork/exec* so the lines before fork are counted once while succeeding
/// lines are counted twice.
diff --git a/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test b/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
index 0c7198e3c4e9e..dce21a1e1d61a 100644
--- a/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
+++ b/compiler-rt/test/profile/Posix/instrprof-gcov-parallel.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c b/compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
index 477adcd44e47d..c01177be957d0 100644
--- a/compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
+++ b/compiler-rt/test/profile/Posix/instrprof-get-filename-merge-mode.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// Test __llvm_profile_get_filename when the on-line merging mode is enabled.
//
// RUN: echo get_filename_from_DSO > shr.exp
diff --git a/compiler-rt/test/profile/gcov-__gcov_flush-terminate.c b/compiler-rt/test/profile/gcov-__gcov_flush-terminate.c
index 649538dc2aaf1..e96d5d01abb68 100644
--- a/compiler-rt/test/profile/gcov-__gcov_flush-terminate.c
+++ b/compiler-rt/test/profile/gcov-__gcov_flush-terminate.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
/// https://bugs.llvm.org/show_bug.cgi?id=38067
/// An abnormal exit does not clear execution counts of subsequent instructions.
// RUN: mkdir -p %t.dir && cd %t.dir
diff --git a/compiler-rt/test/profile/gcov-basic.c b/compiler-rt/test/profile/gcov-basic.c
index 0d8be6d7de087..81c44df95fe21 100644
--- a/compiler-rt/test/profile/gcov-basic.c
+++ b/compiler-rt/test/profile/gcov-basic.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// RUN: mkdir -p %t.dir && cd %t.dir
/// gcov 3.4 redesigned the format and changed the extension from .da to .gcda
diff --git a/compiler-rt/test/profile/gcov-complex-line.c b/compiler-rt/test/profile/gcov-complex-line.c
index 86286c4a93a58..692b96db3019f 100644
--- a/compiler-rt/test/profile/gcov-complex-line.c
+++ b/compiler-rt/test/profile/gcov-complex-line.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// This test checks that the cycle detection algorithm in llvm-cov is able to
// handle complex block graphs by skipping zero count cycles.
//
diff --git a/compiler-rt/test/profile/gcov-dump-and-remove.c b/compiler-rt/test/profile/gcov-dump-and-remove.c
index c35640f93b3de..396191528a582 100644
--- a/compiler-rt/test/profile/gcov-dump-and-remove.c
+++ b/compiler-rt/test/profile/gcov-dump-and-remove.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
/// Test we close file handle on flush, so the .gcda file can be deleted on
/// Windows while the process is still running. In addition, test we create
/// a new .gcda on flush, so there is a file when the process exists.
diff --git a/compiler-rt/test/profile/infinite_loop.c b/compiler-rt/test/profile/infinite_loop.c
index 0e3981c712f6b..4178fe4cc0f38 100644
--- a/compiler-rt/test/profile/infinite_loop.c
+++ b/compiler-rt/test/profile/infinite_loop.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// RUN: %clang_pgogen -O2 -o %t %s
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
// RUN: llvm-profdata show -function main -counts %t.profraw| FileCheck %s
diff --git a/compiler-rt/test/profile/instrprof-coverage.c b/compiler-rt/test/profile/instrprof-coverage.c
index e7ba94d6b2ff0..76e572c7e303b 100644
--- a/compiler-rt/test/profile/instrprof-coverage.c
+++ b/compiler-rt/test/profile/instrprof-coverage.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// RUN: %clang_pgogen -mllvm -pgo-function-entry-coverage %s -o %t.out
// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.out
// RUN: llvm-profdata merge -o %t.profdata %t.profraw
diff --git a/compiler-rt/test/profile/instrprof-gcov-exceptions.test b/compiler-rt/test/profile/instrprof-gcov-exceptions.test
index a3dcc55aaf5b6..f7910b2f75843 100644
--- a/compiler-rt/test/profile/instrprof-gcov-exceptions.test
+++ b/compiler-rt/test/profile/instrprof-gcov-exceptions.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test b/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
index 66b6429208a0f..cc1dc34cd2673 100644
--- a/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
+++ b/compiler-rt/test/profile/instrprof-gcov-multiple-bbs-single-line.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/instrprof-gcov-multithread_fork.test b/compiler-rt/test/profile/instrprof-gcov-multithread_fork.test
index f5ecb1e8dffe3..e05ef2c6f11e5 100644
--- a/compiler-rt/test/profile/instrprof-gcov-multithread_fork.test
+++ b/compiler-rt/test/profile/instrprof-gcov-multithread_fork.test
@@ -1,3 +1,4 @@
+XFAIL: aix
UNSUPPORTED: windows
RUN: mkdir -p %t.d
diff --git a/compiler-rt/test/profile/instrprof-gcov-one-line-function.test b/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
index d67c21a863bfc..bb1c1653cfee1 100644
--- a/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
+++ b/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/instrprof-gcov-switch.test b/compiler-rt/test/profile/instrprof-gcov-switch.test
index 9c43a93dc646a..1616cf0d10f86 100644
--- a/compiler-rt/test/profile/instrprof-gcov-switch.test
+++ b/compiler-rt/test/profile/instrprof-gcov-switch.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/instrprof-gcov-two-objects.test b/compiler-rt/test/profile/instrprof-gcov-two-objects.test
index 4080caa7fdd9a..2a7805ed998a8 100644
--- a/compiler-rt/test/profile/instrprof-gcov-two-objects.test
+++ b/compiler-rt/test/profile/instrprof-gcov-two-objects.test
@@ -1,3 +1,4 @@
+XFAIL: aix
RUN: mkdir -p %t.d
RUN: cd %t.d
diff --git a/compiler-rt/test/profile/instrprof-get-filename.c b/compiler-rt/test/profile/instrprof-get-filename.c
index 031b75f12f3c2..c6cec8cc3273e 100644
--- a/compiler-rt/test/profile/instrprof-get-filename.c
+++ b/compiler-rt/test/profile/instrprof-get-filename.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// Test __llvm_profile_get_filename.
// RUN: %clang_pgogen -O2 -o %t %s
// RUN: %run %t
diff --git a/compiler-rt/test/profile/instrprof-icall-promo.test b/compiler-rt/test/profile/instrprof-icall-promo.test
index 2519b5cd119ce..53a7817d37e2e 100644
--- a/compiler-rt/test/profile/instrprof-icall-promo.test
+++ b/compiler-rt/test/profile/instrprof-icall-promo.test
@@ -1,3 +1,4 @@
+// XFAIL: aix
# IR based instrumentation
RUN: %clangxx_pgogen -O2 -c -o %t.1.o %S/Inputs/instrprof-icall-promo_1.cpp
RUN: %clangxx_pgogen -O2 -c -o %t.2.o %S/Inputs/instrprof-icall-promo_2.cpp
diff --git a/compiler-rt/test/profile/instrprof-merge-entry-cover.c b/compiler-rt/test/profile/instrprof-merge-entry-cover.c
index e8800d9b6ad28..ea2a773891182 100644
--- a/compiler-rt/test/profile/instrprof-merge-entry-cover.c
+++ b/compiler-rt/test/profile/instrprof-merge-entry-cover.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// RUN: %clang_pgogen -O2 -mllvm -pgo-function-entry-coverage -o %t %s
// RUN: %run %t %t.profraw 1 1
// RUN: llvm-profdata show --all-functions --counts %t.profraw | FileCheck %s
diff --git a/compiler-rt/test/profile/instrprof-path.c b/compiler-rt/test/profile/instrprof-path.c
index e4dc8961212c1..f54a898b12941 100644
--- a/compiler-rt/test/profile/instrprof-path.c
+++ b/compiler-rt/test/profile/instrprof-path.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// RUN: %clang_pgogen -O2 -o %t.0 %s
// RUN: %clang_pgogen=%/t.d1 -O2 -o %t.1 %s
// RUN: %clang_pgogen=%/t.d1/%:t.d2 -O2 -o %t.2 %s
diff --git a/compiler-rt/test/profile/instrprof-set-dir-mode.c b/compiler-rt/test/profile/instrprof-set-dir-mode.c
index 07c714724b883..bc91bce4c030b 100644
--- a/compiler-rt/test/profile/instrprof-set-dir-mode.c
+++ b/compiler-rt/test/profile/instrprof-set-dir-mode.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// UNSUPPORTED: windows
// RUN: %clang_pgogen -o %t.bin %s -DTESTPATH=\"%t.dir\"
// RUN: rm -rf %t.dir
diff --git a/compiler-rt/test/profile/runtime_infinite.c b/compiler-rt/test/profile/runtime_infinite.c
index b55f5e2750dd9..adae991304e36 100644
--- a/compiler-rt/test/profile/runtime_infinite.c
+++ b/compiler-rt/test/profile/runtime_infinite.c
@@ -1,3 +1,4 @@
+// XFAIL: aix
// The waiting loop never exits via the normal
// path before the profile is dumped and the
// program is terminated. This tests checks
More information about the llvm-commits
mailing list