2 # RUN: yaml2obj %s -o %t.o
3 # RUN: not ld.lld %t.o -o /dev/null
5 # The debug info has a broken relocation. Check that we don't crash.
7 # We used to dereference null Target in DWARF.cpp:findAux while reporting a duplicate symbol error,
8 # because Target wasn't initialized yet.
9 # RUN: not ld.lld %t.o %t.o -o /dev/null
20 Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
21 Content: '0000000000000000'
32 Content: 3300000002001C0000000101FB0E0D000101010100000001000001006162632E7300000000000009020000000000000000140208000101
33 - Name: .rela.debug_line
39 - Offset: 0x0000000000000029
44 AddressAlign: 0x0000000000000001
45 Content: 0C000000040000000000080100000000
46 - Name: .rela.debug_info
49 AddressAlign: 0x0000000000000008
52 - Offset: 0x0000000000000006
55 - Offset: 0x000000000000000C
60 AddressAlign: 0x0000000000000001
61 Content: '0111001017000000'
66 Section: .debug_abbrev