3 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
4 # RUN: ld.lld -shared %t.o -o %t
5 # RUN: llvm-readobj --symbols %t | FileCheck %s
6 # CHECK: Name: __dso_handle
7 # CHECK-NEXT: Value: 0x0
9 # CHECK-NEXT: Binding: Local
10 # CHECK-NEXT: Type: None
12 # CHECK-NEXT: STV_HIDDEN
14 # CHECK-NEXT: Section: .dynsym
17 .global foo, __dso_handle
19 lea __dso_handle
(%rip
),%rax