1# RUN: yaml2obj %s -o %t
2# RUN: llvm-objdump -d %t --mattr=help 2>&1 | FileCheck %s
3# RUN: llvm-objdump -d %t --mcpu=help 2>&1 | FileCheck %s
4# REQUIRES: x86-registered-target
5
6# CHECK: Available CPUs for this target:
7# CHECK: Available features for this target:
8## To check we still disassemble the file:
9# CHECK: file format elf64-x86-64
10
11--- !ELF
12FileHeader:
13  Class:           ELFCLASS64
14  Data:            ELFDATA2LSB
15  Type:            ET_EXEC
16  Machine:         EM_X86_64
17