xref: /llvm-project/llvm/test/tools/llvm-objcopy/ELF/standard-streams.test (revision 29a3a503c0972da515209b953124f352e22bdc46)
1*29a3a503SGeorge Rimar# RUN: yaml2obj %s -o %t.foo
2*29a3a503SGeorge Rimar
3*29a3a503SGeorge Rimar# RUN: llvm-objcopy - %t < %t.foo
4*29a3a503SGeorge Rimar# RUN: llvm-objcopy %t.foo %t1
5375d5fb9SAlex Brachet# RUN: cmp %t %t1
6375d5fb9SAlex Brachet
7*29a3a503SGeorge Rimar# RUN: llvm-objcopy %t.foo - > %t2
8375d5fb9SAlex Brachet# RUN: cmp %t1 %t2
9*29a3a503SGeorge Rimar
10*29a3a503SGeorge Rimar--- !ELF
11*29a3a503SGeorge RimarFileHeader:
12*29a3a503SGeorge Rimar  Class:   ELFCLASS64
13*29a3a503SGeorge Rimar  Data:    ELFDATA2LSB
14*29a3a503SGeorge Rimar  Type:    ET_DYN
15*29a3a503SGeorge Rimar  Machine: EM_X86_64
16