1# RUN: yaml2obj %s -o %t 2# RUN: llvm-objdump -D --triple=thumbv8.1m.main-none-eabi %t | FileCheck %s 3 4## This is a test case with "random" data/instructions, checking that 5## llvm-objdump handles such instructions cleanly. Disassembly of instructions 6## can fail when it e.g. is not given the right set of architecture features, 7## for example when the source is compiled with: 8## 9## clang -march=..+ext1+ext2 10## 11## and disassembly is attempted with: 12## 13## llvm-objdump --mattr=+ext1 14 15# CHECK: 00000000 <.text>: 16# CHECK-NEXT: 0: cb <unknown> 17# CHECK-NEXT: 1: f3 f7 8b be b.w #-49898 18 19--- !ELF 20FileHeader: 21 Class: ELFCLASS32 22 Data: ELFDATA2LSB 23 Type: ET_REL 24 Machine: EM_ARM 25Sections: 26 - Name: .text 27 Type: SHT_PROGBITS 28 Content: "cbf3f78bbe" 29