]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ELF/linkerscript/eh-frame-emit-relocs.s
Vendor import of lld trunk r338150:
[FreeBSD/FreeBSD.git] / test / ELF / linkerscript / eh-frame-emit-relocs.s
1 # REQUIRES: x86
2 # RUN: echo "SECTIONS { .foo : { *(.eh_frame) } }" > %t.script
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld --emit-relocs %t.o -T %t.script -o %t
5 # RUN: llvm-objdump -section-headers %t | FileCheck %s
6
7 # CHECK-NOT: eh_frame
8 # CHECK:     .rela.foo
9 # CHECK-NOT: eh_frame
10
11 .text
12  .cfi_startproc
13  .cfi_endproc