1// REQUIRES: x86 2// RUN: llvm-mc -filetype=obj -triple=amd64-unknown-openbsd %s -o %t.o 3// RUN: echo '.section .eh_frame,"a",@unwind; .long 0' | \ 4// RUN: llvm-mc -filetype=obj -triple=amd64-unknown-openbsd - -o %t2.o 5// RUN: ld.lld %t.o %t2.o -o %t 6// RUN: llvm-readobj --sections %t | FileCheck %s 7 8// CHECK: Name: .eh_frame 9// CHECK-NEXT: Type: SHT_PROGBITS 10// CHECK-NEXT: Flags [ 11// CHECK-NEXT: SHF_ALLOC 12// CHECK-NEXT: ] 13// CHECK-NEXT: Address: 0x200120 14// CHECK-NEXT: Offset: 0x120 15// CHECK-NEXT: Size: 4 16 17.section .eh_frame,"a",@unwind 18__EH_FRAME_BEGIN__: 19