|
2 | 2 | main.c |
3 | 3 | --unwind 10 --show-goto-functions |
4 | 4 | activate-multi-line-match |
5 | | -(?P<comment_block>\/\/ [0-9]+ file main\.c line [0-9]+ function main)[\s]*5: .*newAlloc4 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc4 := \{ 4 \}[\s]*(?P>comment_block)[\s]*.*newAlloc6 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc6 := \{ 6 \}[\s]*(?P>comment_block)[\s]*.*newAlloc7 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc7 := \{ 7 \}[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc7[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc6[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc4[\s]*(?P>comment_block)[\s]*.*GOTO 3 |
| 5 | +(?P<comment_block>\/\/ [0-9]+ file main\.c line [0-9]+ function main)[\s]*6: .*newAlloc4 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc4 := \{ 4 \}[\s]*(?P>comment_block)[\s]*.*newAlloc6 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc6 := \{ 6 \}[\s]*(?P>comment_block)[\s]*.*newAlloc7 : struct tag-test[\s]*(?P>comment_block)[\s]*.*newAlloc7 := \{ 7 \}[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc7[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc6[\s]*(?P>comment_block)[\s]*.*DEAD main::1::2::2::newAlloc4[\s]*(?P>comment_block)[\s]*.*ASSIGN going_to::nested_if := true[\s]*(?P>comment_block)[\s]*.*GOTO 3 |
6 | 6 | ^EXIT=0$ |
7 | 7 | ^SIGNAL=0$ |
8 | 8 | -- |
9 | 9 | -- |
10 | 10 | Checks for: |
11 | 11 |
|
12 | | - // 37 file main.c line 36 function main |
13 | | - 5: DECL main::1::2::2::newAlloc4 : struct tag-test |
14 | | - // 38 file main.c line 36 function main |
| 12 | + // 41 file main.c line 36 function main |
| 13 | + 6: DECL main::1::2::2::newAlloc4 : struct tag-test |
| 14 | + // 42 file main.c line 36 function main |
15 | 15 | ASSIGN main::1::2::2::newAlloc4 := { 4 } |
16 | | - // 39 file main.c line 37 function main |
| 16 | + // 43 file main.c line 37 function main |
17 | 17 | DECL main::1::2::2::newAlloc6 : struct tag-test |
18 | | - // 40 file main.c line 37 function main |
| 18 | + // 44 file main.c line 37 function main |
19 | 19 | ASSIGN main::1::2::2::newAlloc6 := { 6 } |
20 | | - // 41 file main.c line 38 function main |
| 20 | + // 45 file main.c line 38 function main |
21 | 21 | DECL main::1::2::2::newAlloc7 : struct tag-test |
22 | | - // 42 file main.c line 38 function main |
| 22 | + // 46 file main.c line 38 function main |
23 | 23 | ASSIGN main::1::2::2::newAlloc7 := { 7 } |
24 | | - // 43 file main.c line 39 function main |
| 24 | + // 47 file main.c line 39 function main |
25 | 25 | DEAD main::1::2::2::newAlloc7 |
26 | | - // 44 file main.c line 39 function main |
| 26 | + // 48 file main.c line 39 function main |
27 | 27 | DEAD main::1::2::2::newAlloc6 |
28 | | - // 45 file main.c line 39 function main |
| 28 | + // 49 file main.c line 39 function main |
29 | 29 | DEAD main::1::2::2::newAlloc4 |
30 | | - // 46 file main.c line 39 function main |
| 30 | + // 50 file main.c line 39 function main |
| 31 | + ASSIGN going_to::nested_if := true |
| 32 | + // 51 file main.c line 39 function main |
31 | 33 | GOTO 3 |
32 | 34 |
|
33 | 35 | This asserts that when the GOTO is going into a lexical block that destructors |
|
0 commit comments