teak-llvm/llvm/test/tools/llvm-objdump/disassembly-show-raw.test
Rui Ueyama c2bed42904 Re-submit r191472 with a fix for big endian.
llvm-objdump: Dump COFF import table if -private-headers option is given.
llvm-svn: 191557
2013-09-27 21:04:00 +00:00

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