1 #DUMPPROG: readelf
2 #readelf: -wl
3 #name: MIPS DWARF-2 location information with branch swapping
4 #as: -32
5 #source: loc-swap.s
6 
7 # Verify that DWARF-2 location information for instructions reordered
8 # into a branch delay slot is updated to point to the branch instead.
9 
10 Raw dump of debug contents of section \.debug_line:
11 
12   Offset:                      0x0
13   Length:                      67
14   DWARF Version:               3
15   Prologue Length:             33
16   Minimum Instruction Length:  1
17   Initial value of 'is_stmt':  1
18   Line Base:                   -5
19   Line Range:                  14
20   Opcode Base:                 13
21 
22  Opcodes:
23   Opcode 1 has 0 args
24   Opcode 2 has 1 arg
25   Opcode 3 has 1 arg
26   Opcode 4 has 1 arg
27   Opcode 5 has 1 arg
28   Opcode 6 has 0 args
29   Opcode 7 has 0 args
30   Opcode 8 has 0 args
31   Opcode 9 has 1 arg
32   Opcode 10 has 0 args
33   Opcode 11 has 0 args
34   Opcode 12 has 1 arg
35 
36  The Directory Table is empty\.
37 
38  The File Name Table \(offset 0x.*\):
39   Entry	Dir	Time	Size	Name
40   1	0	0	0	loc-swap\.s
41 
42  Line Number Statements:
43   \[0x.*\]  Extended opcode 2: set Address to 0x1
44   \[0x.*\]  Special opcode 11: advance Address by 0 to 0x1 and Line by 6 to 7
45   \[0x.*\]  Special opcode 35: advance Address by 2 to 0x3 and Line by 2 to 9
46   \[0x.*\]  Special opcode 36: advance Address by 2 to 0x5 and Line by 3 to 12
47   \[0x.*\]  Special opcode 7: advance Address by 0 to 0x5 and Line by 2 to 14 \(view 1\)
48   \[0x.*\]  Special opcode 64: advance Address by 4 to 0x9 and Line by 3 to 17
49   \[0x.*\]  Special opcode 7: advance Address by 0 to 0x9 and Line by 2 to 19 \(view 1\)
50   \[0x.*\]  Special opcode 64: advance Address by 4 to 0xd and Line by 3 to 22
51   \[0x.*\]  Special opcode 35: advance Address by 2 to 0xf and Line by 2 to 24
52   \[0x.*\]  Special opcode 36: advance Address by 2 to 0x11 and Line by 3 to 27
53   \[0x.*\]  Special opcode 35: advance Address by 2 to 0x13 and Line by 2 to 29
54   \[0x.*\]  Special opcode 36: advance Address by 2 to 0x15 and Line by 3 to 32
55   \[0x.*\]  Special opcode 35: advance Address by 2 to 0x17 and Line by 2 to 34
56   \[0x.*\]  Special opcode 36: advance Address by 2 to 0x19 and Line by 3 to 37
57   \[0x.*\]  Special opcode 7: advance Address by 0 to 0x19 and Line by 2 to 39 \(view 1\)
58   \[0x.*\]  Special opcode 92: advance Address by 6 to 0x1f and Line by 3 to 42
59   \[0x.*\]  Special opcode 35: advance Address by 2 to 0x21 and Line by 2 to 44
60   \[0x.*\]  Advance PC by 31 to 0x40
61   \[0x.*\]  Extended opcode 1: End of Sequence
62