1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
3# RUN: echo "SECTIONS { /DISCARD/ : { *(.eh_frame) } }" > %t.script
4# RUN: ld.lld --emit-relocs --script %t.script %t1.o -o %t
5# RUN: llvm-objdump -section-headers %t | FileCheck %s
6
7# CHECK-NOT: .rela.eh_frame
8
9.section .foo,"ax",@progbits
10.cfi_startproc
11.cfi_endproc
12