14 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t3# RUN: echo "SECTIONS { /DISCARD/ : { *(.eh_frame*) *(.eh_frame_hdr*) } }" > %t.script4# RUN: ld.lld -o /dev/null --eh-frame-hdr --script %t.script %t5 6.global _start7_start:8 nop9 10.section .dah,"ax",@progbits11.cfi_startproc12 nop13.cfi_endproc14