2 # RUN: yaml2obj %s -o %t.o
3 # RUN: not ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s
5 ## Previously we would report an error saying the relocation in .debug_info
6 ## has an unsupported target.
7 ## Check we do not report debug information parsing errors when relocation
8 ## used is of type R_*_NONE, what actually means it should be ignored.
11 # CHECK: error: undefined symbol: bar
23 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
24 Content: '0000000000000000'
35 Content: 3300000002001C0000000101FB0E0D000101010100000001000001006162632E7300000000000009020000000000000000140208000101
36 - Name: .rela.debug_line
42 - Offset: 0x0000000000000029
46 AddressAlign: 0x0000000000000001
47 Content: 0C000000040000000000080100000000
50 AddressAlign: 0x0000000000000001
51 Content: '0111001017000000'