• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-readobj %p/Inputs/elf-versioning-test.i386 \
2RUN:         | FileCheck %s -check-prefix ELF
3RUN: llvm-readobj %p/Inputs/elf-versioning-test.i386 \
4RUN:         | FileCheck %s -check-prefix ELF32
5RUN: llvm-readobj %p/Inputs/elf-versioning-test.x86_64 \
6RUN:         | FileCheck %s -check-prefix ELF
7RUN: llvm-readobj %p/Inputs/elf-versioning-test.x86_64 \
8RUN:         | FileCheck %s -check-prefix ELF64
9
10ELF: foo@@VER2          FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global
11ELF: foo@VER1           FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global
12ELF: unversioned_define FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global
13
14ELF32: puts@GLIBC_2.0   FUNC {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} undef,global
15ELF64: puts@GLIBC_2.2.5 FUNC {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} undef,global
16