summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-objdump/Mips/disassemble-all.test
blob: 4554a0e030ae6539ff3276438f2a9ed093496356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: yaml2obj %s | llvm-objdump -D -

# Test that -D does not crash llvm-objdump encounters a section who size is a
# not a multiple of the size of an instruction.

--- !ELF
FileHeader:
  Class:           ELFCLASS64
  Data:            ELFDATA2LSB
  Type:            ET_EXEC
  Machine:         EM_MIPS
Sections:
  - Name:            .note.llvm.crash
    Type:            SHT_NOTE
    Address:         0x0
    Content:         002E746578
OpenPOWER on IntegriCloud