|
3 | 3 | ; RUN: echo '!19 = !{!"%/t/exit-block.ll", !0}' > %t/1
|
4 | 4 | ; RUN: cat %s %t/1 > %t/2
|
5 | 5 |
|
6 |
| -; By default, the exit block is the second. |
| 6 | +; The exit block is the second. |
7 | 7 | ; RUN: opt -passes=insert-gcov-profiling -disable-output %t/2
|
8 |
| -; RUN: llvm-cov gcov -n -dump %t/exit-block.gcno 2>&1 | FileCheck --check-prefixes=CHECK,EXIT-SECOND %s |
9 |
| - |
10 |
| -; But we can optionally emit it last, to match GCC<4.8 (r189778). |
11 |
| -; RUN: opt -passes=insert-gcov-profiling -default-gcov-version='407*' -disable-output %t/2 |
12 |
| -; RUN: llvm-cov gcov -n -dump %t/exit-block.gcno 2>&1 | FileCheck --check-prefixes=CHECK,EXIT-SECOND %s |
| 8 | +; RUN: llvm-cov gcov -n -dump %t/exit-block.gcno 2>&1 | FileCheck %s |
13 | 9 |
|
14 | 10 | target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
15 | 11 | target triple = "x86_64-unknown-linux-gnu"
|
@@ -66,10 +62,7 @@ attributes #2 = { nounwind }
|
66 | 62 |
|
67 | 63 | ; There should be no destination edges for the exit block.
|
68 | 64 | ; CHECK: Block : 1 Counter : 0
|
69 |
| -; EXIT-LAST: Destination Edges |
70 |
| -; EXIT-SECOND-NOT: Destination Edges |
71 | 65 | ; CHECK: Block : 2 Counter : 0
|
72 | 66 | ; CHECK: Block : 4 Counter : 0
|
73 |
| -; EXIT-LAST-NOT: Destination Edges |
74 |
| -; EXIT-SECOND: Destination Edges |
| 67 | +; CHECK: Destination Edges |
75 | 68 | ; CHECK-NOT: Block :
|
0 commit comments