[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / emit-relocs-eh-frame.s
blob4df88585d34196a36f7af2ad7fff4354a583bd72
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1.o
3 # RUN: ld.lld --emit-relocs %t1.o -o %t
4 # RUN: llvm-readobj -r %t | FileCheck %s
6 # CHECK: Relocations [
7 # CHECK-NEXT: Section {{.*}} .rela.eh_frame {
8 # CHECK-NEXT: 0x{{.*}} R_X86_64_PC32 .text 0x0
9 # CHECK-NEXT: }
10 # CHECK-NEXT: ]
12 .text
13 .globl foo
14 foo:
15 .cfi_startproc
16 .cfi_endproc