Recommit "rL366894: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections."
[llvm-complete.git] / test / tools / llvm-objdump / file-headers-elf.test
blob397b9035bd42cf7ed8cf2d6d0c3500fa74eba0f1
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-objdump -f %t | FileCheck %s
3 # RUN: llvm-objdump -file-headers %t | FileCheck %s
5 !ELF
6 FileHeader:
7   Class:           ELFCLASS64
8   Data:            ELFDATA2LSB
9   Type:            ET_REL
10   Machine:         EM_X86_64
11   Entry:           0x123456789abcde
13 # CHECK: architecture: x86_64
14 # CHECK: start address: 0x00123456789abcde