1// REQUIRES: x86 2 3// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t 4// RUN: ld.lld %t -o %t2 5// RUN: llvm-objdump -h %t2 | FileCheck %s 6 7// This resembles what gold -r produces when it discards the section 8// the fde points to. 9 10 .section .eh_frame,"a",@unwind 11 .long 0x14 12 .long 0x0 13 .byte 0x01 14 .byte 0x7a 15 .byte 0x52 16 .byte 0x00 17 .byte 0x01 18 .byte 0x78 19 .byte 0x10 20 .byte 0x01 21 .byte 0x1b 22 .byte 0x0c 23 .byte 0x07 24 .byte 0x08 25 .byte 0x90 26 .byte 0x01 27 .short 0x0 28 29 .long 0x14 30 .long 0x1c 31 .long 0x0 32 .long 0x0 33 .long 0x0 34 .long 0x0 35 36// CHECK: 1 .eh_frame 0000001c 37