1# REQUIRES: x86 2 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 8# CHECK-NEXT: Size: 0 9# CHECK-NEXT: Binding: Local 10# CHECK-NEXT: Type: None 11# CHECK-NEXT: Other [ 12# CHECK-NEXT: STV_HIDDEN 13# CHECK-NEXT: ] 14# CHECK-NEXT: Section: .dynsym 15 16.text 17.global foo, __dso_handle 18foo: 19 lea __dso_handle(%rip),%rax 20