• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# REQUIRES: x86
2# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
3# RUN: ld.lld -shared -Bsymbolic %t.o -o %t.so
4# RUN: llvm-readobj --dyn-syms %t.so | FileCheck %s
5
6# CHECK:      DynamicSymbols [
7# CHECK-NEXT:   Symbol {
8# CHECK-NEXT:     Name:
9# CHECK-NEXT:     Value: 0x0
10# CHECK-NEXT:     Size: 0
11# CHECK-NEXT:     Binding: Local (0x0)
12# CHECK-NEXT:     Type: None (0x0)
13# CHECK-NEXT:     Other: 0
14# CHECK-NEXT:     Section: Undefined (0x0)
15# CHECK-NEXT:   }
16# CHECK-NEXT:   Symbol {
17# CHECK-NEXT:     Name: undef
18# CHECK-NEXT:     Value: 0x0
19# CHECK-NEXT:     Size: 0
20# CHECK-NEXT:     Binding: Global (0x1)
21# CHECK-NEXT:     Type: None (0x0)
22# CHECK-NEXT:     Other: 0
23# CHECK-NEXT:     Section: Undefined (0x0)
24# CHECK-NEXT:   }
25# CHECK-NEXT: ]
26
27call undef@PLT
28