29 lines · plain
1# REQUIRES: x862 3# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o4# RUN: not ld.lld --eh-frame-hdr %t.o -o /dev/null 2>&1 | FileCheck %s5# CHECK: error: unknown FDE size encoding6 7.section .eh_frame,"a",@unwind8 .long 12 # Size9 .long 0x00 # ID10 .byte 0x01 # Version.11 12 .byte 0x52 # Augmentation string: 'R','\0'13 .byte 0x0014 15# Code and data alignment factors.16 .byte 0x01 # LEB12817 .byte 0x01 # LEB12818 19# Return address register.20 .byte 0x01 # LEB12821 22 .byte 0xFE # 'R' value: invalid <0xFE>23 24 .byte 0xFF25 26 .long 12 # Size27 .long 0x14 # ID28 .quad .eh_frame29