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
7 # CHECK-NOT: .rela.eh_frame
9 .section .foo,"ax",@progbits