brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · d509974 Raw
70 lines · plain
1// RUN: not llvm-mc -triple=aarch64 %s 2>&1 | FileCheck --check-prefix=ERR %s2 3// Test logic and type mismatch4.aeabi_attribute Tag_Feature_BTI, 15// ERR: error: no active subsection, build attribute can not be added6// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI, 17 8.aeabi_subsection aeabi_pauthabi, required, uleb1289.aeabi_attribute Tag_Feature_BTI, 110// ERR: error: unknown AArch64 build attribute 'Tag_Feature_BTI' for subsection 'aeabi_pauthabi'11// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI, 112 13.aeabi_attribute a, 114// ERR: error: unknown AArch64 build attribute 'a' for subsection 'aeabi_pauthabi'15// ERR-NEXT: .aeabi_attribute a, 116 17.aeabi_attribute Tag_PAuth_Platform, Tag_PAuth_Platform18// ERR: error: active subsection type is ULEB128 (unsigned), found NTBS (string)19// ERR-NEXT: .aeabi_attribute Tag_PAuth_Platform, Tag_PAuth_Platform20 21.aeabi_attribute Tag_PAuth_Platform, a22// ERR: error: active subsection type is ULEB128 (unsigned), found NTBS (string)23// ERR-NEXT: .aeabi_attribute Tag_PAuth_Platform, a24 25 26// Test syntax errors27.aeabi_attribute Tag_PAuth_Platform,28// ERR: error: AArch64 build attributes value not found29// ERR-NEXT: .aeabi_attribute Tag_PAuth_Platform,30 31.aeabi_attribute Tag_PAuth_Platform32// ERR: error: expected comma33// ERR-NEXT: .aeabi_attribute Tag_PAuth_Platform34 35.aeabi_attribute36// ERR: error: AArch64 build attributes tag not found37// ERR-NEXT: .aeabi_attribute38 39.aeabi_subsection aeabi_feature_and_bits, optional, uleb12840.aeabi_attribute Tag_PAuth_Platform, 141// ERR: unknown AArch64 build attribute 'Tag_PAuth_Platform' for subsection 'aeabi_feature_and_bits'42 43.aeabi_attribute a, 144// ERR: error: unknown AArch64 build attribute 'a' for subsection 'aeabi_feature_and_bits'45 46.aeabi_attribute Tag_Feature_BTI, Tag_Feature_BTI47// ERR: error: active subsection type is ULEB128 (unsigned), found NTBS (string)48// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI, Tag_Feature_BTI49 50.aeabi_attribute Tag_Feature_BTI, a51// ERR: error: active subsection type is ULEB128 (unsigned), found NTBS (string)52// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI, a53 54.aeabi_attribute Tag_Feature_BTI,55// ERR: error: AArch64 build attributes value not found56// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI,57 58.aeabi_attribute Tag_Feature_BTI59// ERR: error: expected comma60// ERR-NEXT: .aeabi_attribute Tag_Feature_BTI61 62.aeabi_attribute63// ERR: error: AArch64 build attributes tag not found64// ERR-NEXT: .aeabi_attribute65 66.aeabi_subsection aeabi_pauthabi, required, uleb12867.aeabi_attribute Tag_PAuth_Platform, 1 some_text68// ERR: error: unexpected token for AArch64 build attributes tag and value attribute directive69// ERR-NEXT: .aeabi_attribute Tag_PAuth_Platform, 1 some_text70