1 ## Show that LLD can handle .eh_frame sections of different types.
3 # RUN: yaml2obj %s -o %t1.o -D TYPE=SHT_PROGBITS
4 # RUN: ld.lld %t1.o -o %t1
5 # RUN: llvm-readobj -S %t1 | FileCheck %s
7 # RUN: yaml2obj %s -o %t2.o -D TYPE=SHT_X86_64_UNWIND
8 # RUN: ld.lld %t2.o -o %t2
9 # RUN: llvm-readobj -S %t2 | FileCheck %s
11 # RUN: ld.lld %t1.o %t2.o -o %tboth
12 # RUN: llvm-readobj -S %tboth | FileCheck %s
14 # RUN: ld.lld -r %t1.o %t2.o -o %tboth.ro
15 # RUN: llvm-readobj -S %tboth.ro | FileCheck %s
17 # CHECK: Name: .eh_frame
18 # CHECK-NEXT: Type: SHT_PROGBITS