[llvm] 3b47e6e - [yaml2obj][test] - Remove excessive symtab-shinfo.yaml.
Georgii Rymar via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 01:02:38 PST 2019
Author: Georgii Rymar
Date: 2019-12-04T12:01:39+03:00
New Revision: 3b47e6efb9dd257d0e321348eabeddfcc2eb050a
URL: https://github.com/llvm/llvm-project/commit/3b47e6efb9dd257d0e321348eabeddfcc2eb050a
DIFF: https://github.com/llvm/llvm-project/commit/3b47e6efb9dd257d0e321348eabeddfcc2eb050a.diff
LOG: [yaml2obj][test] - Remove excessive symtab-shinfo.yaml.
The same testing is performed in `implicit-sections-info.yaml`:
https://github.com/llvm-mirror/llvm/blob/master/test/tools/yaml2obj/implicit-sections-info.yaml
Differential revision: https://reviews.llvm.org/D70957
Added:
Modified:
Removed:
llvm/test/tools/yaml2obj/ELF/symtab-shinfo.yaml
################################################################################
diff --git a/llvm/test/tools/yaml2obj/ELF/symtab-shinfo.yaml b/llvm/test/tools/yaml2obj/ELF/symtab-shinfo.yaml
deleted file mode 100644
index fadc19686bb5..000000000000
--- a/llvm/test/tools/yaml2obj/ELF/symtab-shinfo.yaml
+++ /dev/null
@@ -1,43 +0,0 @@
-## Check we are able to set sh_info field for SHT_SYMTAB sections.
-# RUN: yaml2obj %s -o %t
-# RUN: llvm-readobj --sections %t | FileCheck %s
-
-# CHECK: Name: .symtab
-# CHECK-NEXT: Type: SHT_SYMTAB
-# CHECK-NEXT: Flags [
-# CHECK-NEXT: ]
-# CHECK-NEXT: Address:
-# CHECK-NEXT: Offset:
-# CHECK-NEXT: Size:
-# CHECK-NEXT: Link:
-# CHECK-NEXT: Info: 42
-# CHECK: Name: .dynsym
-# CHECK-NEXT: Type: SHT_DYNSYM
-# CHECK-NEXT: Flags [
-# CHECK-NEXT: SHF_ALLOC
-# CHECK-NEXT: ]
-# CHECK-NEXT: Address:
-# CHECK-NEXT: Offset:
-# CHECK-NEXT: Size:
-# CHECK-NEXT: Link:
-# CHECK-NEXT: Info: 26
-
---- !ELF
-FileHeader:
- Class: ELFCLASS64
- Data: ELFDATA2LSB
- Type: ET_REL
- Machine: EM_X86_64
-Sections:
- - Name: .symtab
- Info: 42
- Type: SHT_SYMTAB
- - Name: .dynsym
- Info: 26
- Type: SHT_DYNSYM
-Symbols:
- - Name: foo
- Binding: STB_GLOBAL
-DynamicSymbols:
- - Name: bar
- Binding: STB_GLOBAL
More information about the llvm-commits
mailing list