18 lines · plain
1## This test shows that llvm-objdump can disassemble a long instruction.2# RUN: yaml2obj %s -o %t.o3# RUN: llvm-objdump -d %t.o | FileCheck %s --strict-whitespace4 5# CHECK: 0: 66 66 66 66 66 66 2e 0f 1f 84 00 00 00 00 00 nopw %cs:(%rax,%rax)6 7--- !ELF8FileHeader:9 Class: ELFCLASS6410 Data: ELFDATA2LSB11 Type: ET_EXEC12 Machine: EM_X86_6413Sections:14 - Name: .text15 Type: SHT_PROGBITS16 Flags: [SHF_ALLOC, SHF_EXECINSTR]17 Content: '6666666666662E0F1F840000000000' # 15-byte nop18