Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / ELF / linkerscript / pt_gnu_eh_frame.s
blob7f9ebaa8d8d1e8e73040360b11adaa50793de244
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
3 # RUN: echo "SECTIONS { /DISCARD/ : { *(.eh_frame*) *(.eh_frame_hdr*) } }" > %t.script
4 # RUN: ld.lld -o /dev/null --eh-frame-hdr --script %t.script %t
6 .global _start
7 _start:
8 nop
10 .section .dah,"ax",@progbits
11 .cfi_startproc
12 nop
13 .cfi_endproc