summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/file-headers-elf.test
blob: ade59cf05da6adcfed2d52c951063555ec3dc8d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# RUN: yaml2obj %s > %t
# RUN: llvm-objdump -f %t | FileCheck %s
# RUN: llvm-objdump -file-headers %t | FileCheck %s

!ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_REL
  Machine:         EM_X86_64
  Entry:           0x123456

# CHECK: architecture: x86_64
# CHECK: start address: 0x00123456
OpenPOWER on IntegriCloud