18 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: echo "SECTIONS { .eh_frame_hdr : {} .eh_frame : {} }" > %t.script4# RUN: ld.lld -o %t1 --eh-frame-hdr --script %t.script %t5# RUN: llvm-objdump -s --section=".eh_frame_hdr" %t1 | FileCheck %s6 7# CHECK: 011b033b 14000000 01000000 4d0000008# CHECK-NEXT: 300000009 10.global _start11_start:12 nop13 14.section .dah,"ax",@progbits15.cfi_startproc16 nop17.cfi_endproc18