summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/pt_gnu_eh_frame.s
blob: 7f9ebaa8d8d1e8e73040360b11adaa50793de244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# REQUIRES: x86
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: echo "SECTIONS { /DISCARD/ : { *(.eh_frame*) *(.eh_frame_hdr*) } }" > %t.script
# RUN: ld.lld -o /dev/null --eh-frame-hdr --script %t.script %t

.global _start
_start:
 nop

.section .dah,"ax",@progbits
.cfi_startproc
 nop
.cfi_endproc
OpenPOWER on IntegriCloud