file-headers.test 380 Bytes
# RUN: yaml2obj %s -o %t
# RUN: llvm-objdump -f %t | FileCheck %s -DFILE=%t
# RUN: llvm-objdump --file-headers %t | FileCheck %s -DFILE=%t

!COFF
header: !Header
  Machine: IMAGE_FILE_MACHINE_I386 # (0x14c)
  Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
sections:
symbols:

# CHECK: [[FILE]]: file format coff-i386
# CHECK: architecture: i386
# CHECK: start address: 0x00000000