1## When changing the assembly input, uncomment these lines to re-generate the 2## YAML. 3# COM: llvm-mc --emit-dwarf-unwind=always -filetype=obj -triple=x86_64-apple-macos10.15 %s -o %t.o 4# COM: ld -r %t.o -o %t-r.o 5# COM: obj2yaml %t-r.o > %S/Inputs/double-unwind-info.yaml 6 7# RUN: yaml2obj %S/Inputs/double-unwind-info.yaml > %t-r.o 8# RUN: %lld -dylib -lSystem %t-r.o -o /dev/null 9 10.text 11## eh_frame function address relocations are only emitted if the function isn't 12## at address 0x0. 13_spacer: 14 nop 15 16## Check that we perform unwind info registration correctly when there are 17## multiple symbols at the same address. This would previously hit an assertion 18## error (PR56570). 19_foo: 20ltmp1: 21 .cfi_startproc 22 .cfi_def_cfa_offset 8 23 nop 24 .cfi_endproc 25 26.subsections_via_symbols 27