llvm-project/compiler-rt/test/profile/instrprof-gcov-one-line-function.test
Wael Yehia af8205d0eb Revert "XFAIL some PGO tests on AIX until the new linker becomes publicly available."
AIX 7.2 TL5 SP4 and AIX 7.3 TL0 SP2 have been released as of now.
The linker in these OS versions recognizes and properly supports
__start_SECNAME and __stop_SECNAME symbols which are needed for PGO.

This reverts commit 93bb2f16e8.
2022-08-08 14:04:29 +00:00

10 lines
434 B
Plaintext

RUN: mkdir -p %t.d
RUN: cd %t.d
RUN: %clang --coverage -o %t %S/Inputs/instrprof-gcov-one-line-function.c
RUN: test -f instrprof-gcov-one-line-function.gcno
RUN: rm -f instrprof-gcov-one-line-function.gcda
RUN: %run %t
RUN: llvm-cov gcov instrprof-gcov-one-line-function.gcda
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-one-line-function.c.gcov %S/Inputs/instrprof-gcov-one-line-function.c.gcov