82 lines · plain
1# RUN: llvm-mc -triple=aarch64-linux -filetype=obj < %s | llvm-readelf --arch-specific - | FileCheck %s --check-prefix=ATTR2 3# ATTR: BuildAttributes {4# ATTR-NEXT: FormatVersion: 0x415# ATTR-NEXT: Section 1 {6# ATTR-NEXT: SectionLength: 297# ATTR-NEXT: VendorName: private_subsection_1 Optionality: optional Type: uleb1288# ATTR-NEXT: Attributes {9# ATTR-NEXT: 1: 110# ATTR-NEXT: }11# ATTR-NEXT: }12# ATTR-NEXT: Section 2 {13# ATTR-NEXT: SectionLength: 3714# ATTR-NEXT: VendorName: aeabi_feature_and_bits Optionality: optional Type: uleb12815# ATTR-NEXT: Attributes {16# ATTR-NEXT: Tag_Feature_BTI: 117# ATTR-NEXT: Tag_Feature_PAC: 118# ATTR-NEXT: Tag_Feature_GCS: 119# ATTR-NEXT: 3: 120# ATTR-NEXT: }21# ATTR-NEXT: }22# ATTR-NEXT: Section 3 {23# ATTR-NEXT: SectionLength: 3224# ATTR-NEXT: VendorName: private_subsection_3 Optionality: optional Type: ntbs25# ATTR-NEXT: Attributes {26# ATTR-NEXT: 1: "1"27# ATTR-NEXT: }28# ATTR-NEXT: }29# ATTR-NEXT: Section 4 {30# ATTR-NEXT: SectionLength: 3531# ATTR-NEXT: VendorName: aeabi_pauthabi Optionality: required Type: uleb12832# ATTR-NEXT: Attributes {33# ATTR-NEXT: Tag_PAuth_Schema: 134# ATTR-NEXT: Tag_PAuth_Platform: 135# ATTR-NEXT: 5: 136# ATTR-NEXT: 6: 137# ATTR-NEXT: 7: 138# ATTR-NEXT: 8: 139# ATTR-NEXT: 9: 140# ATTR-NEXT: }41# ATTR-NEXT: }42# ATTR-NEXT: Section 5 {43# ATTR-NEXT: SectionLength: 3244# ATTR-NEXT: VendorName: private_subsection_4 Optionality: required Type: ntbs45# ATTR-NEXT: Attributes {46# ATTR-NEXT: 1: "1"47# ATTR-NEXT: }48# ATTR-NEXT: }49# ATTR-NEXT: Section 6 {50# ATTR-NEXT: SectionLength: 3151# ATTR-NEXT: VendorName: private_subsection_2 Optionality: required Type: uleb12852# ATTR-NEXT: Attributes {53# ATTR-NEXT: 1: 154# ATTR-NEXT: 2: 155# ATTR-NEXT: }56# ATTR-NEXT: }57# ATTR-NEXT: }58 59 60.aeabi_subsection private_subsection_1, optional, uleb12861.aeabi_attribute 1, 162.aeabi_subsection aeabi_feature_and_bits, optional, uleb12863.aeabi_attribute Tag_Feature_BTI, 164.aeabi_attribute 1, 165.aeabi_attribute 2, 166.aeabi_attribute 3, 167.aeabi_subsection private_subsection_3, optional, ntbs68.aeabi_attribute 1, "1"69.aeabi_subsection aeabi_pauthabi, required, uleb12870.aeabi_attribute Tag_PAuth_Schema, 171.aeabi_attribute Tag_PAuth_Platform, 172.aeabi_attribute 5, 173.aeabi_attribute 6, 174.aeabi_attribute 7, 175.aeabi_attribute 8, 176.aeabi_attribute 9, 177.aeabi_subsection private_subsection_4, required, ntbs78.aeabi_attribute 1, "1"79.aeabi_subsection private_subsection_2, required, uleb12880.aeabi_attribute 1, 181.aeabi_attribute 2, 182