1#as: --gdwarf-3 2#readelf: -x.rodata -wlL 3#name: DWARF2 5 4# The am33 cr16 crx ft32 mn10 msp430 nds32 rl78 and rx targets do not evaluate the subtraction of symbols at assembly time. 5# The mep target tries to relay code sections which breaks symbolic view computations. 6# The riscv targets do not support the subtraction of symbols. 7#xfail: am3*-* cr16-* crx-* ft32*-* mep-* mn10*-* msp430-* nds32*-* riscv*-* rl78-* rx-* 8 9Hex dump of section '\.rodata': 10 0x00000000 01010201 010203 *.* 11 12Raw dump of debug contents of section \.debug_line: 13 14 Offset: 0x0 15 Length: [0-9]* 16 DWARF Version: 3 17 Prologue Length: [0-9]* 18 Minimum Instruction Length: [0-9]* 19 Initial value of 'is_stmt': 1 20 Line Base: [-0-9]* 21 Line Range: [0-9]* 22 Opcode Base: [0-9]* 23 24 Opcodes: 25 Opcode 1 has 0 args 26 Opcode 2 has 1 arg 27 Opcode 3 has 1 arg 28 Opcode 4 has 1 arg 29 Opcode 5 has 1 arg 30 Opcode 6 has 0 args 31 Opcode 7 has 0 args 32 Opcode 8 has 0 args 33 Opcode 9 has 1 arg 34 Opcode 10 has 0 args 35 Opcode 11 has 0 args 36 Opcode 12 has 1 arg 37 38 The Directory Table is empty. 39 40 The File Name Table \(offset 0x1c\): 41 Entry Dir Time Size Name 42 1 0 0 0 dwarf2-5\.c 43 44 Line Number Statements: 45 \[0x.*\] Extended opcode 2: set Address to 0x0 46 \[0x.*\] Copy 47 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x0 and Line by 1 to 2 \(view 1\) 48 \[0x.*\] Special opcode [0-9]*: advance Address by 8 to 0x8 and Line by 1 to 3 49 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x8 and Line by 1 to 4 \(view 1\) 50 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x8 and Line by 1 to 5 \(view 2\) 51 \[0x.*\] Special opcode [0-9]*: advance Address by 8 to 0x10 and Line by 1 to 6 52 \[0x.*\] Special opcode [0-9]*: advance Address by 8 to 0x18 and Line by 1 to 7 53 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x18 and Line by 1 to 8 \(view 1\) 54 \[0x.*\] Special opcode [0-9]*: advance Address by 8 to 0x20 and Line by 1 to 9 55 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x20 and Line by 1 to 10 \(view 1\) 56 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x20 and Line by 1 to 11 \(view 2\) 57 \[0x.*\] Special opcode [0-9]*: advance Address by 0 to 0x20 and Line by 1 to 12 \(view 3\) 58 \[0x.*\] Advance PC by 8 to 0x28 59 \[0x.*\] Extended opcode 1: End of Sequence 60 61 62Contents of the \.debug_line section: 63 64CU: dwarf2-5\.c: 65File name +Line number +Starting address +View +Stmt 66dwarf2-5\.c +1 +0 +x 67dwarf2-5\.c +2 +0 +1 +x 68dwarf2-5\.c +3 +0x8 +x 69dwarf2-5\.c +4 +0x8 +1 +x 70dwarf2-5\.c +5 +0x8 +2 +x 71dwarf2-5\.c +6 +0x10 +x 72dwarf2-5\.c +7 +0x18 +x 73dwarf2-5\.c +8 +0x18 +1 +x 74dwarf2-5\.c +9 +0x20 +x 75dwarf2-5\.c +10 +0x20 +1 +x 76dwarf2-5\.c +11 +0x20 +2 +x 77dwarf2-5\.c +12 +0x20 +3 +x 78dwarf2-5\.c +- +0x28 79