llvm-for-llvmta/test/tools/llvm-objdump/X86/disassemble-show-raw.test

15 lines
417 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
// 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