[llvm] 46acce4 - [Object][test] - Remove readobj-elf-versioning.test and support files.
Georgii Rymar via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 23 01:15:32 PST 2020
Author: Georgii Rymar
Date: 2020-01-23T12:13:25+03:00
New Revision: 46acce42b322e116c871bf90964bf4ce124d6908
URL: https://github.com/llvm/llvm-project/commit/46acce42b322e116c871bf90964bf4ce124d6908
DIFF: https://github.com/llvm/llvm-project/commit/46acce42b322e116c871bf90964bf4ce124d6908.diff
LOG: [Object][test] - Remove readobj-elf-versioning.test and support files.
`readobj-elf-versioning.test` was added in rL152436 and
checks how llvm-readobj --dyn-syms prints versioned symbols.
We test the same in `llvm-readobj\ELF\dyn-symbols.test` currently.
This patch removes the test and 4 more support files from Inputs.
Differential revision: https://reviews.llvm.org/D73163
Added:
Modified:
Removed:
llvm/test/Object/Inputs/elf-versioning-test.i386
llvm/test/Object/Inputs/elf-versioning-test.x86_64
llvm/test/Object/Inputs/elfver.S
llvm/test/Object/Inputs/elfver.script
llvm/test/Object/readobj-elf-versioning.test
################################################################################
diff --git a/llvm/test/Object/Inputs/elf-versioning-test.i386 b/llvm/test/Object/Inputs/elf-versioning-test.i386
deleted file mode 100755
index c7c1eac4977e..000000000000
Binary files a/llvm/test/Object/Inputs/elf-versioning-test.i386 and /dev/null
diff er
diff --git a/llvm/test/Object/Inputs/elf-versioning-test.x86_64 b/llvm/test/Object/Inputs/elf-versioning-test.x86_64
deleted file mode 100755
index cba79baeb4c6..000000000000
Binary files a/llvm/test/Object/Inputs/elf-versioning-test.x86_64 and /dev/null
diff er
diff --git a/llvm/test/Object/Inputs/elfver.S b/llvm/test/Object/Inputs/elfver.S
deleted file mode 100644
index ba63279c7a6b..000000000000
--- a/llvm/test/Object/Inputs/elfver.S
+++ /dev/null
@@ -1,31 +0,0 @@
-# Compile with:
-# ARGS="-shared -nostdlib -Wl,--version-script=elfver.script"
-# clang $ARGS -m32 elfver.S -lc -o elf-versioning-test.i386
-# clang $ARGS -m64 elfver.S -lc -o elf-versioning-test.x86_64
-
-# Also, strip off non-dynamic symbols:
-# strip elf-versioning-test.i386
-# strip elf-versioning-test.x86_64
-
-#ifdef __i386__
-.symver _puts, puts at GLIBC_2.0
-#else
-.symver _puts, puts at GLIBC_2.2.5
-#endif
-call _puts at PLT
-
-.symver foo1, foo at VER1
-.globl foo1
-.type foo1, @function
-foo1:
- ret
-
-.symver foo2, foo@@VER2
-.globl foo2
-.type foo2, @function
-foo2:
- ret
-
-.globl unversioned_define
-.type unversioned_define, @function
-unversioned_define:
diff --git a/llvm/test/Object/Inputs/elfver.script b/llvm/test/Object/Inputs/elfver.script
deleted file mode 100644
index 1316fcb84c8d..000000000000
--- a/llvm/test/Object/Inputs/elfver.script
+++ /dev/null
@@ -1,10 +0,0 @@
-VER1 {
- global:
- foo;
-};
-
-VER2 {
- global:
- foo;
-} VER1;
-
diff --git a/llvm/test/Object/readobj-elf-versioning.test b/llvm/test/Object/readobj-elf-versioning.test
deleted file mode 100644
index d5361c2d9fc0..000000000000
--- a/llvm/test/Object/readobj-elf-versioning.test
+++ /dev/null
@@ -1,46 +0,0 @@
-RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.i386 \
-RUN: | FileCheck %s -check-prefix ELF
-RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.i386 \
-RUN: | FileCheck %s -check-prefix ELF32
-RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.x86_64 \
-RUN: | FileCheck %s -check-prefix ELF
-RUN: llvm-readobj --dyn-syms %p/Inputs/elf-versioning-test.x86_64 \
-RUN: | FileCheck %s -check-prefix ELF64
-
-ELF: DynamicSymbols [
-ELF: Symbol {
-ELF: Name: foo@@VER2
-ELF: Binding: Global
-ELF: Type: Function
-ELF: Section: .text
-ELF: }
-ELF: Symbol {
-ELF: Name: foo at VER1
-ELF: Binding: Global
-ELF: Type: Function
-ELF: Section: .text
-ELF: }
-ELF: Symbol {
-ELF: Name: unversioned_define
-ELF: Binding: Global
-ELF: Type: Function
-ELF: Section: .text
-ELF: }
-ELF: ]
-
-ELF32: DynamicSymbols [
-ELF32: Symbol {
-ELF32: Name: puts at GLIBC_2.0
-ELF32: Binding: Global
-ELF32: Type: Function
-ELF32: Section: Undefined (0x0)
-ELF32: }
-ELF32: ]
-ELF64: DynamicSymbols [
-ELF64: Symbol {
-ELF64: Name: puts at GLIBC_2.2.5
-ELF64: Binding: Global
-ELF64: Type: Function
-ELF64: Section: Undefined (0x0)
-ELF64: }
-ELF64: ]
More information about the llvm-commits
mailing list