| 1 |
# RUN: llvm-mc -triple=aarch64-linux -filetype=obj < %s | llvm-readelf --arch-specific - | FileCheck %s --check-prefix=ATTR |
| 2 |
|
| 3 |
# ATTR: BuildAttributes { |
| 4 |
# ATTR-NEXT: FormatVersion: 0x41 |
| 5 |
# ATTR-NEXT: Section 1 { |
| 6 |
# ATTR-NEXT: SectionLength: 29 |
| 7 |
# ATTR-NEXT: VendorName: private_subsection_1 Optionality: optional Type: uleb128 |
| 8 |
# ATTR-NEXT: Attributes { |
| 9 |
# ATTR-NEXT: 1: 1 |
| 10 |
# ATTR-NEXT: } |
| 11 |
# ATTR-NEXT: } |
| 12 |
# ATTR-NEXT: Section 2 { |
| 13 |
# ATTR-NEXT: SectionLength: 37 |
| 14 |
# ATTR-NEXT: VendorName: aeabi_feature_and_bits Optionality: optional Type: uleb128 |
| 15 |
# ATTR-NEXT: Attributes { |
| 16 |
# ATTR-NEXT: Tag_Feature_BTI: 1 |
| 17 |
# ATTR-NEXT: Tag_Feature_PAC: 1 |
| 18 |
# ATTR-NEXT: Tag_Feature_GCS: 1 |
| 19 |
# ATTR-NEXT: 3: 1 |
| 20 |
# ATTR-NEXT: } |
| 21 |
# ATTR-NEXT: } |
| 22 |
# ATTR-NEXT: Section 3 { |
| 23 |
# ATTR-NEXT: SectionLength: 32 |
| 24 |
# ATTR-NEXT: VendorName: private_subsection_3 Optionality: optional Type: ntbs |
| 25 |
# ATTR-NEXT: Attributes { |
| 26 |
# ATTR-NEXT: 1: "1" |
| 27 |
# ATTR-NEXT: } |
| 28 |
# ATTR-NEXT: } |
| 29 |
# ATTR-NEXT: Section 4 { |
| 30 |
# ATTR-NEXT: SectionLength: 35 |
| 31 |
# ATTR-NEXT: VendorName: aeabi_pauthabi Optionality: required Type: uleb128 |
| 32 |
# ATTR-NEXT: Attributes { |
| 33 |
# ATTR-NEXT: Tag_PAuth_Schema: 1 |
| 34 |
# ATTR-NEXT: Tag_PAuth_Platform: 1 |
| 35 |
# ATTR-NEXT: 5: 1 |
| 36 |
# ATTR-NEXT: 6: 1 |
| 37 |
# ATTR-NEXT: 7: 1 |
| 38 |
# ATTR-NEXT: 8: 1 |
| 39 |
# ATTR-NEXT: 9: 1 |
| 40 |
# ATTR-NEXT: } |
| 41 |
# ATTR-NEXT: } |
| 42 |
# ATTR-NEXT: Section 5 { |
| 43 |
# ATTR-NEXT: SectionLength: 32 |
| 44 |
# ATTR-NEXT: VendorName: private_subsection_4 Optionality: required Type: ntbs |
| 45 |
# ATTR-NEXT: Attributes { |
| 46 |
# ATTR-NEXT: 1: "1" |
| 47 |
# ATTR-NEXT: } |
| 48 |
# ATTR-NEXT: } |
| 49 |
# ATTR-NEXT: Section 6 { |
| 50 |
# ATTR-NEXT: SectionLength: 31 |
| 51 |
# ATTR-NEXT: VendorName: private_subsection_2 Optionality: required Type: uleb128 |
| 52 |
# ATTR-NEXT: Attributes { |
| 53 |
# ATTR-NEXT: 1: 1 |
| 54 |
# ATTR-NEXT: 2: 1 |
| 55 |
# ATTR-NEXT: } |
| 56 |
# ATTR-NEXT: } |
| 57 |
# ATTR-NEXT: } |
| 58 |
|
| 59 |
|
| 60 |
.aeabi_subsection private_subsection_1, optional, uleb128 |
| 61 |
.aeabi_attribute 1, 1 |
| 62 |
.aeabi_subsection aeabi_feature_and_bits, optional, uleb128 |
| 63 |
.aeabi_attribute Tag_Feature_BTI, 1 |
| 64 |
.aeabi_attribute 1, 1 |
| 65 |
.aeabi_attribute 2, 1 |
| 66 |
.aeabi_attribute 3, 1 |
| 67 |
.aeabi_subsection private_subsection_3, optional, ntbs |
| 68 |
.aeabi_attribute 1, "1" |
| 69 |
.aeabi_subsection aeabi_pauthabi, required, uleb128 |
| 70 |
.aeabi_attribute Tag_PAuth_Schema, 1 |
| 71 |
.aeabi_attribute Tag_PAuth_Platform, 1 |
| 72 |
.aeabi_attribute 5, 1 |
| 73 |
.aeabi_attribute 6, 1 |
| 74 |
.aeabi_attribute 7, 1 |
| 75 |
.aeabi_attribute 8, 1 |
| 76 |
.aeabi_attribute 9, 1 |
| 77 |
.aeabi_subsection private_subsection_4, required, ntbs |
| 78 |
.aeabi_attribute 1, "1" |
| 79 |
.aeabi_subsection private_subsection_2, required, uleb128 |
| 80 |
.aeabi_attribute 1, 1 |
| 81 |
.aeabi_attribute 2, 1 |