llvm-project/llvm/test/tools/llvm-objdump/mattr-mcpu-help.test
David Spickett c3d484673f [llvm-objdump] Require x86 target for mcpu/attr test
This fixes test failure on clang-cmake-armv7-quick bot
with change c2ead57ccf74900901fdda1cd0fbe9a7a0d1297a.

This bot only builds Arm/AArch64 targets.
2020-11-30 13:55:31 +00:00

17 lines
479 B
Plaintext

# RUN: yaml2obj %s -o %t
# RUN: llvm-objdump -d %t --mattr=help 2>&1 | FileCheck %s
# RUN: llvm-objdump -d %t --mcpu=help 2>&1 | FileCheck %s
# REQUIRES: x86-registered-target
# CHECK: Available CPUs for this target:
# CHECK: Available features for this target:
## To check we still disassemble the file:
# CHECK: file format elf64-x86-64
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_X86_64