[compiler-rt] [PGO][test] Enable continuous mode PGO tests on AIX (PR #115987)
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 29 16:40:27 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
----------------
chapuni wrote:
`bias` is not emitted if no instrumentations are emitted. `libprofile` complains if no bias var is found with continuous mode at runtime.
https://github.com/llvm/llvm-project/commit/d2f77eb8ec620c8068fa471a1d7b9c9756da1913#diff-71a5c7472b215c25675c554f2ee1f3bbc84f29aa47ba2d30543246ad79aeffc0R654-R657
https://github.com/llvm/llvm-project/pull/115987
More information about the llvm-commits
mailing list