| 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: invalid Extended Build Attributes subsection size at offset: 3D |
| 5 |
|
| 6 |
# ULEB values are overflowing. |
| 7 |
# Those are the trailing '000' in the sequence '...00010101020000' should be '...000101010201' |
| 8 |
--- !ELF |
| 9 |
FileHeader: |
| 10 |
Class: ELFCLASS64 |
| 11 |
Data: ELFDATA2LSB |
| 12 |
OSABI: ELFOSABI_NONE |
| 13 |
Type: ET_REL |
| 14 |
Machine: EM_AARCH64 |
| 15 |
Entry: 0x0 |
| 16 |
|
| 17 |
Sections: |
| 18 |
- Name: .ARM.attributes |
| 19 |
Type: 0x70000003 # SHT_LOPROC + 3 |
| 20 |
AddressAlign: 1 |
| 21 |
Offset: 0x40 |
| 22 |
Size: 0x41 |
| 23 |
Content: "411900000061656162695f7061757468616269000000010102012300000061656162695f666561747572655f616e645f6269747300010000010101020000" |
| 24 |
... |