[NFC][RISCV] Remove CFIIndex argument from allocateStack (#117871)
[llvm-project.git] / lld / test / ELF / linkerscript / visibility.s
blobf62a6755a91b9ff998f5769b536dae25608c8a46
1 # REQUIRES: x86
2 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
4 # RUN: echo "SECTIONS { foo = .; }" > %t1.script
5 # RUN: ld.lld -o %t1 --script %t1.script %t.o -shared
6 # RUN: llvm-readobj --symbols %t1 | FileCheck %s
8 # CHECK: Symbol {
9 # CHECK: Name: foo
10 # CHECK-NEXT: Value:
11 # CHECK-NEXT: Size:
12 # CHECK-NEXT: Binding: Local
13 # CHECK-NEXT: Type:
14 # CHECK-NEXT: Other [
15 # CHECK-NEXT: STV_HIDDEN
16 # CHECK-NEXT: ]
17 # CHECK-NEXT: Section:
18 # CHECK-NEXT: }
20 .data
21 .hidden foo
22 .quad foo