summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/dwarf-5-loc0.d
blob: 7e8473a486f50bb2598bebdf790e83d11a4ff180 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#as: -gdwarf-5
#readelf: -W -wL
#name: DWARF5 .loc 0
# The am33 cr16 crx ft32 mn10 msp430 nds32 and rl78 targets do not evaluate the subtraction of symbols at assembly time.
# The riscv targets do not support the subtraction of symbols.
#xfail: am3*-* cr16-* crx-* ft32*-* mn10*-* msp430-* nds32*-* riscv*-* rl78-*

Contents of the \.debug_line section:

CU: \./foo\.c:
File name +Line number +Starting address +View +Stmt

\./foo.c:\[\+\+\]
foo\.c +1 +0x8 +x
foo\.c +2 +0x10 +x
foo\.c +- +0x10