blob: 4554a0e030ae6539ff3276438f2a9ed093496356 [file] [log] [blame]
Simon Dardisf7923db2017-02-24 10:51:27 +00001# RUN: yaml2obj %s | llvm-objdump -D -
Simon Dardisf7923db2017-02-24 10:51:27 +00002
3# Test that -D does not crash llvm-objdump encounters a section who size is a
4# not a multiple of the size of an instruction.
5
6--- !ELF
7FileHeader:
8 Class: ELFCLASS64
9 Data: ELFDATA2LSB
10 Type: ET_EXEC
11 Machine: EM_MIPS
12Sections:
13 - Name: .note.llvm.crash
14 Type: SHT_NOTE
15 Address: 0x0
16 Content: 002E746578