[ELF] Make SyntheticSection parameter order match InputSection
[llvm-project.git] / lld / test / ELF / just-symbols-cref.s
blobc58e0ce9d6ddea61bf2dde80633db095bc6d46be
1 # REQUIRES: x86
3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld %t.o -o %t1.exe -Ttext=0x10000
6 # RUN: ld.lld --just-symbols=%t1.exe -o %t2.exe --cref | FileCheck %s
8 # CHECK: Symbol File
9 # CHECK-NEXT: foo {{.*exe}}
10 # CHECK-NEXT: bar {{.*exe}}
12 .globl foo, bar
13 foo:
14 ret
16 .section .data
17 .type bar, @object
18 .size bar, 40
19 bar:
20 .zero 40