19 lines · plain
1// REQUIRES: x862// RUN: llvm-mc -filetype=obj -triple=amd64-unknown-openbsd %s -o %t.o3// RUN: echo '.section .eh_frame,"a",@unwind; .long 0' | \4// RUN: llvm-mc -filetype=obj -triple=amd64-unknown-openbsd - -o %t2.o5// RUN: ld.lld %t.o %t2.o -o %t6// RUN: llvm-readobj --sections %t | FileCheck %s7 8// CHECK: Name: .eh_frame9// CHECK-NEXT: Type: SHT_PROGBITS10// CHECK-NEXT: Flags [11// CHECK-NEXT: SHF_ALLOC12// CHECK-NEXT: ]13// CHECK-NEXT: Address:14// CHECK-NEXT: Offset: 0x12015// CHECK-NEXT: Size: 416 17.section .eh_frame,"a",@unwind18__EH_FRAME_BEGIN__:19