xref: /llvm-project/llvm/test/tools/llvm-objdump/X86/disassemble-show-raw.test (revision 6ed18eaa777beac510272c73e3889d9ec54ad341)
1// RUN: llvm-objdump -d %p/Inputs/trivial.obj.elf-i386 \
2// RUN:     | FileCheck %s -check-prefix=WITHRAW
3// RUN: llvm-objdump -d --no-show-raw-insn %p/Inputs/trivial.obj.elf-i386 \
4// RUN:     | FileCheck %s -check-prefix=NORAW
5
6// Expect to find the raw incoding when run with raw output (default), but not
7// when run explicitly with -no-show-raw-insn
8
9WITHRAW: a1 00 00 00 00 movl
10
11NORAW: movl
12NORAW-NOT: a1 00
13
14
15