brintos

brintos / llvm-project-archived public Read only

0
0
Text · 801 B · 0a04566 Raw
29 lines · plain
1# RUN: yaml2obj %s -o %t2# RUN: llvm-objdump -D --triple=thumbv8.1m.main-none-eabi %t | FileCheck %s3 4## This is a test case with "random" data/instructions, checking that5## llvm-objdump handles such instructions cleanly. Disassembly of instructions6## 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+ext210##11## and disassembly is attempted with:12##13##   llvm-objdump --mattr=+ext114 15# CHECK:        00000000 <.text>:16# CHECK-NEXT:       0: f3cb 8bf7     <unknown>17# CHECK-NEXT:       4: be            <unknown>18 19--- !ELF20FileHeader:21  Class:   ELFCLASS3222  Data:    ELFDATA2LSB23  Type:    ET_REL24  Machine: EM_ARM25Sections:26  - Name:    .text27    Type:    SHT_PROGBITS28    Content: "cbf3f78bbe"29