aboutsummaryrefslogtreecommitdiff
path: root/test/Object/readobj-elf-versioning.test
blob: 0906f344e2c512636799a2ccead95d1833d9d496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
RUN: llvm-readobj %p/Inputs/elf-versioning-test.i386 \
RUN:         | FileCheck %s -check-prefix ELF
RUN: llvm-readobj %p/Inputs/elf-versioning-test.i386 \
RUN:         | FileCheck %s -check-prefix ELF32
RUN: llvm-readobj %p/Inputs/elf-versioning-test.x86_64 \
RUN:         | FileCheck %s -check-prefix ELF
RUN: llvm-readobj %p/Inputs/elf-versioning-test.x86_64 \
RUN:         | FileCheck %s -check-prefix ELF64

ELF: foo@@VER2          FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global
ELF: foo@VER1           FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global
ELF: unversioned_define FUNC  {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} global

ELF32: puts@GLIBC_2.0   FUNC {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} undef,global
ELF64: puts@GLIBC_2.2.5 FUNC {{[0-9a-f]+}} {{[0-9a-f]+}} {{[0-9a-f]+}} undef,global