|
14 | 14 | ; STMT_SEQ: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] (0x00000043) |
15 | 15 | ; STMT_SEQ: DW_AT_name {{.*}}func01 |
16 | 16 | ; STMT_SEQ: DW_TAG_subprogram [[[ABBREV_CODE2]]] |
17 | | -; STMT_SEQ: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] (0x00000056) |
| 17 | +; STMT_SEQ: DW_AT_LLVM_stmt_sequence [DW_FORM_sec_offset] (0x00000058) |
18 | 18 | ; STMT_SEQ: DW_AT_name {{.*}}main |
19 | 19 |
|
20 | 20 | ;; Check the entire line sequence to see that it's correct |
21 | | -; STMT_SEQ: Address Line Column File ISA Discriminator OpIndex Flags |
22 | | -; STMT_SEQ-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- |
23 | | -; STMT_SEQ-NEXT: 0x00000043: 04 DW_LNS_set_file (0) |
24 | | -; STMT_SEQ-NEXT: 0x00000045: 05 DW_LNS_set_column (9) |
25 | | -; STMT_SEQ-NEXT: 0x00000047: 0a DW_LNS_set_prologue_end |
26 | | -; STMT_SEQ-NEXT: 0x00000048: 00 DW_LNE_set_address (0x00000000) |
27 | | -; STMT_SEQ-NEXT: 0x0000004f: 16 address += 0, line += 4, op-index += 0 |
28 | | -; STMT_SEQ-NEXT: 0x0000000000000000 5 9 0 0 0 0 is_stmt prologue_end |
29 | | -; STMT_SEQ-NEXT: 0x00000050: 05 DW_LNS_set_column (3) |
30 | | -; STMT_SEQ-NEXT: 0x00000052: 67 address += 6, line += 1, op-index += 0 |
31 | | -; STMT_SEQ-NEXT: 0x0000000000000006 6 3 0 0 0 0 is_stmt |
32 | | -; STMT_SEQ-NEXT: 0x00000053: 00 DW_LNE_end_sequence |
33 | | -; STMT_SEQ-NEXT: 0x0000000000000006 6 3 0 0 0 0 is_stmt end_sequence |
34 | | -; STMT_SEQ-NEXT: 0x00000056: 04 DW_LNS_set_file (0) |
35 | | -; STMT_SEQ-NEXT: 0x00000058: 00 DW_LNE_set_address (0x00000008) |
36 | | -; STMT_SEQ-NEXT: 0x0000005f: 03 DW_LNS_advance_line (10) |
37 | | -; STMT_SEQ-NEXT: 0x00000061: 01 DW_LNS_copy |
38 | | -; STMT_SEQ-NEXT: 0x0000000000000008 10 0 0 0 0 0 is_stmt |
39 | | -; STMT_SEQ-NEXT: 0x00000062: 05 DW_LNS_set_column (10) |
40 | | -; STMT_SEQ-NEXT: 0x00000064: 0a DW_LNS_set_prologue_end |
41 | | -; STMT_SEQ-NEXT: 0x00000065: 83 address += 8, line += 1, op-index += 0 |
42 | | -; STMT_SEQ-NEXT: 0x0000000000000010 11 10 0 0 0 0 is_stmt prologue_end |
43 | | -; STMT_SEQ-NEXT: 0x00000066: 05 DW_LNS_set_column (3) |
44 | | -; STMT_SEQ-NEXT: 0x00000068: 9f address += 10, line += 1, op-index += 0 |
45 | | -; STMT_SEQ-NEXT: 0x000000000000001a 12 3 0 0 0 0 is_stmt |
46 | | -; STMT_SEQ-NEXT: 0x00000069: 02 DW_LNS_advance_pc (addr += 5, op-index += 0) |
47 | | -; STMT_SEQ-NEXT: 0x0000006b: 00 DW_LNE_end_sequence |
48 | | -; STMT_SEQ-NEXT: 0x000000000000001f 12 3 0 0 0 0 is_stmt end_sequence |
| 21 | +; STMT_SEQ: Address Line Column File ISA Discriminator OpIndex Flags |
| 22 | +; STMT_SEQ-NEXT: ------------------ ------ ------ ------ --- ------------- ------- ------------- |
| 23 | +; STMT_SEQ-NEXT: 0x00000043: 04 DW_LNS_set_file (0) |
| 24 | +; STMT_SEQ-NEXT: 0x00000045: 05 DW_LNS_set_column (9) |
| 25 | +; STMT_SEQ-NEXT: 0x00000047: 0a DW_LNS_set_prologue_end |
| 26 | +; STMT_SEQ-NEXT: 0x00000048: 00 DW_LNE_set_address (0x00000000) |
| 27 | +; STMT_SEQ-NEXT: 0x0000004f: 16 address += 0, line += 4, op-index += 0 |
| 28 | +; STMT_SEQ-NEXT: 0x0000000000000000 5 9 0 0 0 0 is_stmt prologue_end |
| 29 | +; STMT_SEQ-NEXT: 0x00000050: 05 DW_LNS_set_column (3) |
| 30 | +; STMT_SEQ-NEXT: 0x00000052: 67 address += 6, line += 1, op-index += 0 |
| 31 | +; STMT_SEQ-NEXT: 0x0000000000000006 6 3 0 0 0 0 is_stmt |
| 32 | +; STMT_SEQ-NEXT: 0x00000053: 02 DW_LNS_advance_pc (addr += 2, op-index += 0) |
| 33 | +; STMT_SEQ-NEXT: 0x00000055: 00 DW_LNE_end_sequence |
| 34 | +; STMT_SEQ-NEXT: 0x0000000000000008 6 3 0 0 0 0 is_stmt end_sequence |
| 35 | +; STMT_SEQ-NEXT: 0x00000058: 04 DW_LNS_set_file (0) |
| 36 | +; STMT_SEQ-NEXT: 0x0000005a: 00 DW_LNE_set_address (0x00000008) |
| 37 | +; STMT_SEQ-NEXT: 0x00000061: 03 DW_LNS_advance_line (10) |
| 38 | +; STMT_SEQ-NEXT: 0x00000063: 01 DW_LNS_copy |
| 39 | +; STMT_SEQ-NEXT: 0x0000000000000008 10 0 0 0 0 0 is_stmt |
| 40 | +; STMT_SEQ-NEXT: 0x00000064: 05 DW_LNS_set_column (10) |
| 41 | +; STMT_SEQ-NEXT: 0x00000066: 0a DW_LNS_set_prologue_end |
| 42 | +; STMT_SEQ-NEXT: 0x00000067: 83 address += 8, line += 1, op-index += 0 |
| 43 | +; STMT_SEQ-NEXT: 0x0000000000000010 11 10 0 0 0 0 is_stmt prologue_end |
| 44 | +; STMT_SEQ-NEXT: 0x00000068: 05 DW_LNS_set_column (3) |
| 45 | +; STMT_SEQ-NEXT: 0x0000006a: 9f address += 10, line += 1, op-index += 0 |
| 46 | +; STMT_SEQ-NEXT: 0x000000000000001a 12 3 0 0 0 0 is_stmt |
| 47 | +; STMT_SEQ-NEXT: 0x0000006b: 02 DW_LNS_advance_pc (addr += 5, op-index += 0) |
| 48 | +; STMT_SEQ-NEXT: 0x0000006d: 00 DW_LNE_end_sequence |
| 49 | +; STMT_SEQ-NEXT: 0x000000000000001f 12 3 0 0 0 0 is_stmt end_sequence |
49 | 50 |
|
50 | 51 | ; generated from: |
51 | 52 | ; clang -Oz -g -S -emit-llvm test.c -o test.ll |
|
0 commit comments