| 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: 1A |
| 5 |
|
| 6 |
# Indicated size is longer than actual size. |
| 7 |
# The size is indicated by the '99' in the sequence '...0101020199...' should be 23 |
| 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: 0x3d |
| 23 |
Content: "411900000061656162695f7061757468616269000000010102019900000061656162695f666561747572655f616e645f62697473000100000101010201" |
| 24 |
... |