3 # RUN: echo "VER1 { global: _end; foo ; local: * ; } ;" > %t.script
4 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
5 # RUN: ld.lld --version-script %t.script -shared %t.o -o %t.so
6 # RUN: llvm-readobj --dyn-syms %t.so | FileCheck %s
8 # CHECK: Name: foo@@VER1
11 # CHECK-NEXT: Binding: Global
12 # CHECK-NEXT: Type: None
13 # CHECK-NEXT: Other: 0
14 # CHECK-NEXT: Section: .text
16 # CHECK: Name: _end@@VER1
17 # CHECK-NEXT: Value: 0
19 # CHECK-NEXT: Binding: Global
20 # CHECK-NEXT: Type: None
21 # CHECK-NEXT: Other: 0
22 # CHECK-NEXT: Section: .data