| 1 | #as: |
| 2 | #readelf: -wlL |
| 3 | #name: DWARF2 6 |
| 4 | # These targets either do not support or do not evaluate the subtraction of symbols at assembly time. |
| 5 | #not-target: am3*-* avr-* cr16-* crx-* mn10*-* msp430-* nds32*-* pru-* riscv*-* rl78-* xtensa-* |
| 6 | |
| 7 | Raw dump of debug contents of section .debug_line: |
| 8 | |
| 9 | Offset: 0x0 |
| 10 | Length: 84 |
| 11 | DWARF Version: 2 |
| 12 | Prologue Length: 36 |
| 13 | Minimum Instruction Length: 1 |
| 14 | Initial value of 'is_stmt': 1 |
| 15 | Line Base: 1 |
| 16 | Line Range: 1 |
| 17 | Opcode Base: 16 |
| 18 | |
| 19 | Opcodes: |
| 20 | Opcode 1 has 0 args |
| 21 | Opcode 2 has 1 arg |
| 22 | Opcode 3 has 1 arg |
| 23 | Opcode 4 has 1 arg |
| 24 | Opcode 5 has 1 arg |
| 25 | Opcode 6 has 0 args |
| 26 | Opcode 7 has 0 args |
| 27 | Opcode 8 has 0 args |
| 28 | Opcode 9 has 1 arg |
| 29 | Opcode 10 has 0 args |
| 30 | Opcode 11 has 0 args |
| 31 | Opcode 12 has 1 arg |
| 32 | Opcode 13 has 0 args |
| 33 | Opcode 14 has 0 args |
| 34 | Opcode 15 has 0 args |
| 35 | |
| 36 | The Directory Table is empty. |
| 37 | |
| 38 | The File Name Table \(offset 0x1f\): |
| 39 | Entry Dir Time Size Name |
| 40 | 1 0 0 0 dwarf2-6\.c |
| 41 | |
| 42 | |
| 43 | Line Number Statements: |
| 44 | \[0x.*\] Extended opcode 2: set Address to 0x0 |
| 45 | \[0x.*\] Copy |
| 46 | \[0x.*\] Copy \(view 1\) |
| 47 | \[0x.*\] Extended opcode 2: set Address to 0x1 |
| 48 | \[0x.*\] Copy |
| 49 | \[0x.*\] Advance PC by 0 to 0x1 |
| 50 | \[0x.*\] Copy \(view 1\) |
| 51 | \[0x.*\] Advance PC by 1 to 0x2 |
| 52 | \[0x.*\] Copy |
| 53 | \[0x.*\] Advance PC by fixed size amount 1 to 0x3 |
| 54 | \[0x.*\] Copy \(view 1\) |
| 55 | \[0x.*\] Special opcode 0: advance Address by 0 to 0x3 and Line by 1 to 2 \(view 2\) |
| 56 | \[0x.*\] Special opcode 1: advance Address by 1 to 0x4 and Line by 1 to 3 |
| 57 | \[0x.*\] Copy \(view 1\) |
| 58 | \[0x.*\] Advance PC by constant 239 to 0xf3 |
| 59 | \[0x.*\] Copy |
| 60 | \[0x.*\] Extended opcode 2: set Address to 0x100 |
| 61 | \[0x.*\] Extended opcode 1: End of Sequence |
| 62 | |
| 63 | |
| 64 | Contents of the \.debug_line section: |
| 65 | |
| 66 | CU: dwarf2-6\.c: |
| 67 | File name *Line number *Starting address *View |
| 68 | dwarf2-6\.c *1 *0 |
| 69 | dwarf2-6\.c *1 *0 *1 |
| 70 | dwarf2-6\.c *1 *0x1 |
| 71 | dwarf2-6\.c *1 *0x1 *1 |
| 72 | dwarf2-6\.c *1 *0x2 |
| 73 | dwarf2-6\.c *1 *0x3 *1 |
| 74 | dwarf2-6\.c *2 *0x3 *2 |
| 75 | dwarf2-6\.c *3 *0x4 |
| 76 | dwarf2-6\.c *3 *0x4 *1 |
| 77 | dwarf2-6\.c *3 *0xf3 |
| 78 | dwarf2-6\.c *3 *0x100 |