aboutsummaryrefslogtreecommitdiffstats
path: root/test/tools/llvm-objdump/X86/disassembly-show-raw.test
blob: e9956a5ebe4b5d416ade64b3293a3107e7797530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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