19 lines · plain
1// RUN: llvm-mc -triple=aarch64 %s -o - | FileCheck %s --check-prefix=ASM2// RUN: llvm-mc -triple=aarch64 -filetype=obj %s -o - | llvm-readelf --hex-dump=.ARM.attributes - | FileCheck %s --check-prefix=ELF3 4// ASM: .aeabi_subsection aeabi_feature_and_bits, optional, uleb1285// ASM: .aeabi_attribute 0, 0 // Tag_Feature_BTI6// ASM: .aeabi_attribute 1, 1 // Tag_Feature_PAC7// ASM: .aeabi_attribute 2, 0 // Tag_Feature_GCS8 9// ELF: Hex dump of section '.ARM.attributes':10// ELF-NEXT: 0x00000000 41230000 00616561 62695f66 65617475 A#...aeabi_featu11// ELF-NEXT: 0x00000010 72655f61 6e645f62 69747300 01000000 re_and_bits.....12// ELF-NEXT: 0x00000020 0101020013 14 15.aeabi_subsection aeabi_feature_and_bits, optional, uleb12816.aeabi_attribute 0, 0 // Tag_Feature_BTI17.aeabi_attribute 1, 1 // Tag_Feature_PAC18.aeabi_attribute 2, 0 // Tag_Feature_GCS19