| Rui Ueyama | c2bed42 | 2013-09-27 21:04:00 +0000 | [diff] [blame] | 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 | |||||
| 9 | WITHRAW: a1 00 00 00 00 movl | ||||
| 10 | |||||
| 11 | NORAW: movl | ||||
| 12 | NORAW-NOT: a1 00 | ||||
| 13 | |||||
| 14 | |||||