[compiler-rt] [PGO][test] Enable continuous mode PGO tests on AIX (PR #115987)
Hubert Tong via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 13 09:54:26 PST 2024
================
@@ -1,11 +1,11 @@
-// REQUIRES: darwin
+// REQUIRES: target={{.*(darwin|aix).*}}
-// RUN: %clang -fprofile-instr-generate -fcoverage-mapping -o %t.exe %s
+// RUN: %clang_profgen_cont -fcoverage-mapping -o %t.exe %s
// RUN: echo "garbage" > %t.profraw
// RUN: env LLVM_PROFILE_FILE="%c%t.profraw" %run %t.exe
// RUN: llvm-profdata show --counts --all-functions %t.profraw | FileCheck %s -check-prefix=CHECK-COUNTS
// RUN: llvm-profdata merge -o %t.profdata %t.profraw
-// RUN: llvm-cov report %t.exe -instr-profile %t.profdata | FileCheck %s -check-prefix=CHECK-COVERAGE
+// RUN: %if !target={{.*aix.*}} %{ llvm-cov report %t.exe -instr-profile %t.profdata | FileCheck %s -check-prefix=CHECK-COVERAGE %}
----------------
hubert-reinterpretcast wrote:
Can you add a comment explaining why running this is not appropriate for AIX (at this time)?
https://github.com/llvm/llvm-project/pull/115987
More information about the llvm-commits
mailing list