[compiler-rt] [PGO][test] Enable continuous mode PGO tests on AIX (PR #115987)
Wael Yehia via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 30 13:53:01 PST 2024
================
@@ -1,8 +1,8 @@
-// REQUIRES: darwin
+// REQUIRES: target={{.*(darwin|aix).*}}
// RUN: echo "static void dead_code(void) {}" > %t.dso.c
-// RUN: %clang_profgen -fcoverage-mapping -O3 -dynamiclib -o %t.dso.dylib %t.dso.c
-// RUN: %clang_profgen -fcoverage-mapping -O3 -o %t.exe %s %t.dso.dylib
+// RUN: %clang_profgen_cont -fcoverage-mapping -O3 %shared_lib_flag -o %t.dso.dylib %t.dso.c
+// RUN: %clang_profgen_cont -fcoverage-mapping -O3 -o %t.exe %s %t.dso.dylib
----------------
w2yehia wrote:
I see. Yes, the test is passing by accident on AIX: the dynamic library is not being linked in (because it has no reachable code).
https://github.com/llvm/llvm-project/pull/115987
More information about the llvm-commits
mailing list