[compiler-rt] 9788652 - [test][profile] Disable failing PPC tests

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 16 22:40:29 PDT 2023


Author: Vitaly Buka
Date: 2023-08-16T22:40:14-07:00
New Revision: 9788652dd08a1a0ac2e23a3b1e8c4054966a3b94

URL: https://github.com/llvm/llvm-project/commit/9788652dd08a1a0ac2e23a3b1e8c4054966a3b94
DIFF: https://github.com/llvm/llvm-project/commit/9788652dd08a1a0ac2e23a3b1e8c4054966a3b94.diff

LOG: [test][profile] Disable failing PPC tests

Tests were acidentally included into target executed on sanitizer-ppc64be-linux bot.
It does not look like there were OK before.

Added: 
    

Modified: 
    compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
    compiler-rt/test/profile/Linux/coverage-linkage.cpp
    compiler-rt/test/profile/Linux/coverage-weak-lld.cpp
    compiler-rt/test/profile/Linux/instrprof-value-merge-lld.c
    compiler-rt/test/profile/instrprof-gc-sections.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp b/compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
index 549633867c759f..fc7a693ee9b027 100644
--- a/compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
+++ b/compiler-rt/test/profile/Linux/coverage-linkage-lld.cpp
@@ -1,4 +1,8 @@
 // REQUIRES: lld-available
+
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
 /// With lld --gc-sections we can ensure discarded[01] and their profc/profd
 /// variables are discarded.
 

diff  --git a/compiler-rt/test/profile/Linux/coverage-linkage.cpp b/compiler-rt/test/profile/Linux/coverage-linkage.cpp
index 8a52bfc97d949a..ae2d7db76467e7 100644
--- a/compiler-rt/test/profile/Linux/coverage-linkage.cpp
+++ b/compiler-rt/test/profile/Linux/coverage-linkage.cpp
@@ -1,5 +1,9 @@
 /// Test instrumentation can handle various linkages.
 // REQUIRES: lld-available
+
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
 // RUN: %clang_profgen -fcoverage-mapping %s -o %t
 // RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
 // RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s

diff  --git a/compiler-rt/test/profile/Linux/coverage-weak-lld.cpp b/compiler-rt/test/profile/Linux/coverage-weak-lld.cpp
index de624dd73b8599..485ec4719c044b 100644
--- a/compiler-rt/test/profile/Linux/coverage-weak-lld.cpp
+++ b/compiler-rt/test/profile/Linux/coverage-weak-lld.cpp
@@ -1,5 +1,8 @@
 // REQUIRES: lld-available
 
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
 // RUN: %clang_profgen -fcoverage-mapping -c %s -o %t0.o
 // RUN: %clang_profgen -fcoverage-mapping -c %s -DOBJ_1 -o %t1.o
 // RUN: %clang_profgen -fcoverage-mapping -c %s -DOBJ_2 -o %t2.o

diff  --git a/compiler-rt/test/profile/Linux/instrprof-value-merge-lld.c b/compiler-rt/test/profile/Linux/instrprof-value-merge-lld.c
index 2f0282f2417add..b664eb78734de8 100644
--- a/compiler-rt/test/profile/Linux/instrprof-value-merge-lld.c
+++ b/compiler-rt/test/profile/Linux/instrprof-value-merge-lld.c
@@ -1,4 +1,8 @@
 // REQUIRES: lld-available
+
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
 /// Test ld with GC.
 
 // RUN: %clang_pgogen -o %t -O3 %S/Inputs/instrprof-value-merge.c -no-pie -fuse-ld=lld -ffunction-sections -fdata-sections -Wl,--gc-sections -z start-stop-gc

diff  --git a/compiler-rt/test/profile/instrprof-gc-sections.c b/compiler-rt/test/profile/instrprof-gc-sections.c
index 8bbd26d29cbf24..8b84c0a2421804 100644
--- a/compiler-rt/test/profile/instrprof-gc-sections.c
+++ b/compiler-rt/test/profile/instrprof-gc-sections.c
@@ -1,5 +1,8 @@
 // REQUIRES: linux, lld-available
 
+// FIXME: Investigate and fix.
+// XFAIL: powerpc64-target-arch
+
 // RUN: rm -rf %t.profraw
 // RUN: %clang_profgen=%t.profraw -fuse-ld=lld -fcoverage-mapping -mllvm -enable-name-compression=false -DCODE=1 -ffunction-sections -fdata-sections -Wl,--gc-sections -o %t %s
 // RUN: %run %t


        


More information about the llvm-commits mailing list