brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.6 KiB · 501958a Raw
65 lines · plain
1// RUN: not llvm-mc -triple=aarch64 %s 2>&1 | FileCheck --check-prefix=ERR %s2 3// Test syntax errors4.aeabi_subsection 1, required, uleb1285// ERR: error: subsection name not found6// ERR-NEXT: .aeabi_subsection 1, required, uleb1287 8.aeabi_subsection , required, uleb1289// ERR: error: subsection name not found10// ERR-NEXT: .aeabi_subsection , required, uleb12811 12.aeabi_subsection aeabi_pauthabi, a, uleb12813// ERR: error: unknown AArch64 build attributes optionality, expected required|optional14// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, a, uleb12815 16.aeabi_subsection aeabi_pauthabi, 1, uleb12817// ERR: error: optionality parameter not found, expected required|optional18// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, 1, uleb12819 20.aeabi_subsection aeabi_pauthabi, ,uleb12821// ERR: error: optionality parameter not found, expected required|optional22// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, ,uleb12823 24.aeabi_subsection aeabi_pauthabi,uleb12825// ERR: error: unknown AArch64 build attributes optionality, expected required|optional26// ERR-NEXT: .aeabi_subsection aeabi_pauthabi,uleb12827 28.aeabi_subsection aeabi_pauthabi uleb12829// ERR: expected comma30// ERR-NEXT: .aeabi_subsection aeabi_pauthabi uleb12831 32.aeabi_subsection aeabi_pauthabi, required33// ERR: error: expected comma34// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, required35 36.aeabi_subsection aeabi_pauthabi, required,37// ERR: error: type parameter not found, expected uleb128|ntbs38// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, required,39 40.aeabi_subsection aeabi_pauthabi, required, a41// ERR: error: unknown AArch64 build attributes type, expected uleb128|ntbs42// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, required, a43 44.aeabi_subsection aeabi_pauthabi, optional, uleb12845// ERR: error: aeabi_pauthabi must be marked as required46// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, optional, uleb12847 48 49// Test types mismatch50.aeabi_subsection aeabi_pauthabi, optional, uleb12851// ERR: error: aeabi_pauthabi must be marked as required52// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, optional, uleb12853 54.aeabi_subsection aeabi_pauthabi, required, ntbs55// ERR: error: aeabi_pauthabi must be marked as ULEB12856// ERR-NEXT: .aeabi_subsection aeabi_pauthabi, required, ntbs57 58.aeabi_subsection aeabi_feature_and_bits, required, uleb12859// ERR: error: aeabi_feature_and_bits must be marked as optional60// ERR-NEXT: .aeabi_subsection aeabi_feature_and_bits, required, uleb12861 62.aeabi_subsection aeabi_feature_and_bits, optional, ntbs63// ERR: error: aeabi_feature_and_bits must be marked as ULEB12864// ERR-NEXT: .aeabi_subsection aeabi_feature_and_bits, optional, ntbs65