19 lines · plain
1# REQUIRES: aarch642 3# RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o %t.o4# RUN: ld.lld %t.o -o /dev/null 2>&1 | FileCheck %s5 6# CHECK: (.ARM.attributes): unexpected end of data at offset 0x3f while reading [0x3d, 0x41)7 8.section .ARM.attributes,"",%0x700000039.byte 0x41 // Tag 'A' (format version)10.long 0x00000019 // Subsection length11.asciz "aeabi_pauthabi" // Subsection name12.byte 0x00, 0x00 // Optionality and Type13.byte 0x01, 0x01, 0x02, 0x01 // PAuth_Platform and PAuth_Schema14.long 0x00000023 // Subsection length15.asciz "aeabi_feature_and_bits" // Subsection name16.byte 0x01, 0x00 // Optionality and Type17.byte 0x00, 0x01, 0x01, 0x01, 0x02, 0x01 // BTI, PAC, GCS18.byte 0x00, 0x00 // This is the malformation, data is too long.19