mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 01:06:06 +00:00

It seems that after dc52ce424bb1818b3270e20927447bf17e062e66, all big-endian problems have been fixed. 01899bb4e41178af6f4cf7b32833e661fe1e3322 seems to have fixed XFAIL: * of profile/instrprof-gcov-__gcov_flush-terminate.test This essentially reverts commit 5a9b792d7251e19f69f96c9619cde49497c79a07 and 93d5ae3af18f3e5d4232510274d59c1b4e5b8e77.
22 lines
983 B
Plaintext
22 lines
983 B
Plaintext
RUN: mkdir -p %t.d
|
|
RUN: cd %t.d
|
|
|
|
# Test with exceptions disabled.
|
|
RUN: %clangxx --coverage -o %t %S/Inputs/instrprof-gcov-exceptions.cpp -fno-exceptions
|
|
RUN: test -f instrprof-gcov-exceptions.gcno
|
|
|
|
RUN: rm -f instrprof-gcov-exceptions.gcda
|
|
RUN: %run %t
|
|
RUN: llvm-cov gcov instrprof-gcov-exceptions.gcda
|
|
RUN: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-exceptions.cpp.gcov %S/Inputs/instrprof-gcov-exceptions.cpp.gcov
|
|
|
|
# Test with exceptions enabled, the result in terms of line counts should be the same.
|
|
RUN: %clangxx --coverage -o %t %S/Inputs/instrprof-gcov-exceptions.cpp
|
|
RUN: test -f instrprof-gcov-exceptions.gcno
|
|
|
|
RUN: rm -f instrprof-gcov-exceptions.gcda
|
|
RUN: %run %t
|
|
RUN: llvm-cov gcov instrprof-gcov-exceptions.gcda
|
|
# FIXME: The result should be the same, but they are not on some platforms.
|
|
RUNX: FileCheck --match-full-lines --strict-whitespace --input-file instrprof-gcov-exceptions.cpp.gcov %S/Inputs/instrprof-gcov-exceptions.cpp.gcov
|