• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-readobj -dt %p/Inputs/elf-versioning-test.i386 \
2RUN:         | FileCheck %s -check-prefix ELF
3RUN: llvm-readobj -dt %p/Inputs/elf-versioning-test.i386 \
4RUN:         | FileCheck %s -check-prefix ELF32
5RUN: llvm-readobj -dt %p/Inputs/elf-versioning-test.x86_64 \
6RUN:         | FileCheck %s -check-prefix ELF
7RUN: llvm-readobj -dt %p/Inputs/elf-versioning-test.x86_64 \
8RUN:         | FileCheck %s -check-prefix ELF64
9
10ELF: DynamicSymbols [
11ELF:   Symbol {
12ELF:     Name: foo@@VER2
13ELF:     Binding: Global
14ELF:     Type: Function
15ELF:     Section: .text
16ELF:   }
17ELF:   Symbol {
18ELF:     Name: foo@VER1
19ELF:     Binding: Global
20ELF:     Type: Function
21ELF:     Section: .text
22ELF:   }
23ELF:   Symbol {
24ELF:     Name: unversioned_define
25ELF:     Binding: Global
26ELF:     Type: Function
27ELF:     Section: .text
28ELF:   }
29ELF: ]
30
31ELF32: DynamicSymbols [
32ELF32:   Symbol {
33ELF32:     Name: puts@GLIBC_2.0
34ELF32:     Binding: Global
35ELF32:     Type: Function
36ELF32:     Section: Undefined (0x0)
37ELF32:   }
38ELF32: ]
39ELF64: DynamicSymbols [
40ELF64:   Symbol {
41ELF64:     Name: puts@GLIBC_2.2.5
42ELF64:     Binding: Global
43ELF64:     Type: Function
44ELF64:     Section: Undefined (0x0)
45ELF64:   }
46ELF64: ]
47