Debian Codegraph @

llvm/test/tools/llvm-readobj/ELF/AArch64/build-attributes-melformed-ver.s

raw
1 # RUN: yaml2obj %s -o %t.o
2 # RUN: not llvm-readobj --arch-specific %t.o %null 2>&1 | FileCheck %s
3
4 # CHECK: unable to dump attributes from the Unknown section with index 1: unrecognized format-version: 0x37
5
6 # Version is 37 instead of 41, this is the first byte.
7 --- !ELF
8 FileHeader:
9 Class: ELFCLASS64
10 Data: ELFDATA2LSB
11 OSABI: ELFOSABI_NONE
12 Type: ET_REL
13 Machine: EM_AARCH64
14 Entry: 0x0
15
16 Sections:
17 - Name: .ARM.attributes
18 Type: 0x70000003 # SHT_LOPROC + 3
19 AddressAlign: 1
20 Offset: 0x40
21 Size: 0x3d
22 Content: "371900000061656162695f7061757468616269000000010102012300000061656162695f666561747572655f616e645f62697473000100000101010201"
23 ...