llvm-project/llvm/test/tools/llvm-objdump/X86/disassembly-show-raw.test

15 lines
416 B
Plaintext

// RUN: llvm-objdump -d %p/Inputs/trivial.obj.elf-i386 \
// RUN: | FileCheck %s -check-prefix=WITHRAW
// RUN: llvm-objdump -d -no-show-raw-insn %p/Inputs/trivial.obj.elf-i386 \
// RUN: | FileCheck %s -check-prefix=NORAW
// Expect to find the raw incoding when run with raw output (default), but not
// when run explicitly with -no-show-raw-insn
WITHRAW: a1 00 00 00 00 movl
NORAW: movl
NORAW-NOT: a1 00