[PATCH] D68386: [llvm-readobj] - Stop using a precompiled binary in all.test
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 3 05:50:33 PDT 2019
grimar created this revision.
grimar added reviewers: jhenderson, MaskRay.
Herald added subscribers: seiya, rupprecht.
grimar edited the summary of this revision.
Having a precompiled binary here is excessive.
I also added a few missing tags.
https://reviews.llvm.org/D68386
Files:
test/tools/llvm-readobj/all.test
Index: test/tools/llvm-readobj/all.test
===================================================================
--- test/tools/llvm-readobj/all.test
+++ test/tools/llvm-readobj/all.test
@@ -1,16 +1,25 @@
-RUN: llvm-readobj -a %p/Inputs/trivial.obj.elf-i386 \
-RUN: | FileCheck %s -check-prefix ALL
-RUN: llvm-readobj --all %p/Inputs/trivial.obj.elf-i386 \
-RUN: | FileCheck %s -check-prefix ALL
+# RUN: yaml2obj %s -o %t.o
+# RUN: llvm-readobj -a %t.o | FileCheck %s -check-prefix ALL
+# RUN: llvm-readobj --all %t.o | FileCheck %s -check-prefix ALL
-ALL: Format: ELF32-i386
-ALL: Arch: i386
-ALL: AddressSize: 32bit
-ALL: LoadName:
-ALL: ElfHeader {
-ALL: Sections [
-ALL: Relocations [
-ALL: Symbols [
-ALL: ProgramHeaders [
-ALL: Notes [
-ALL: StackSizes [
+# ALL: Format: ELF32-i386
+# ALL: Arch: i386
+# ALL: AddressSize: 32bit
+# ALL: LoadName:
+# ALL: ElfHeader {
+# ALL: Sections [
+# ALL: Relocations [
+# ALL: Symbols [
+# ALL: ProgramHeaders [
+# ALL: Version symbols {
+# ALL: SHT_GNU_verdef {
+# ALL: SHT_GNU_verneed {
+# ALL: Notes [
+# ALL: StackSizes [
+
+--- !ELF
+FileHeader:
+ Class: ELFCLASS32
+ Data: ELFDATA2LSB
+ Type: ET_REL
+ Machine: EM_386
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68386.222995.patch
Type: text/x-patch
Size: 1181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191003/c22a76e8/attachment.bin>
More information about the llvm-commits
mailing list