diff options
Diffstat (limited to 'llvm/test/tools')
-rw-r--r-- | llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcda | bin | 0 -> 124 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcno | bin | 0 -> 216 bytes | |||
-rw-r--r-- | llvm/test/tools/llvm-cov/llvm-cov.test | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcda b/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcda Binary files differnew file mode 100644 index 00000000000..3ca483d1f46 --- /dev/null +++ b/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcda diff --git a/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcno b/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcno Binary files differnew file mode 100644 index 00000000000..d453566282f --- /dev/null +++ b/llvm/test/tools/llvm-cov/Inputs/test_exit_block_arcs.gcno diff --git a/llvm/test/tools/llvm-cov/llvm-cov.test b/llvm/test/tools/llvm-cov/llvm-cov.test index 6a71120c882..ad4ceefbbce 100644 --- a/llvm/test/tools/llvm-cov/llvm-cov.test +++ b/llvm/test/tools/llvm-cov/llvm-cov.test @@ -111,4 +111,8 @@ RUN: llvm-cov test.c -gcda=test_file_checksum_fail.gcda # Bad function checksum on gcda RUN: llvm-cov test.c -gcda=test_func_checksum_fail.gcda +# Has arcs from exit blocks +RUN: llvm-cov test_exit_block_arcs.c 2>&1 | FileCheck %s -check-prefix=EXIT_BLOCK_ARCS +EXIT_BLOCK_ARCS: (main) has arcs from exit block. + XFAIL: powerpc64-, s390x, mips-, mips64-, sparc |