We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deaf7de commit 88359f4Copy full SHA for 88359f4
lld/test/ELF/aarch64-build-attributes-melformed.s
@@ -0,0 +1,23 @@
1
+
2
+# RUN: yaml2obj %s -o %t.o
3
+# RUN: ld.lld %t.o /dev/null 2>&1 | FileCheck %s
4
5
+# CHECK: (.ARM.attributes): invalid Extended Build Attributes subsection size at offset: 3B
6
7
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: "411900000061656162695f7061757468616269000000010102012000000061656162695f666561747572655f616e645f6269747300010000010101020000"
0 commit comments