brintos

brintos / llvm-project-archived public Read only

0
0
Text · 488 B · 435073d Raw
20 lines · plain
1; RUN: rm -rf %t && split-file %s %t && cd %t2 3; CHECK: either both or no 'aarch64-elf-pauthabi-platform' and 'aarch64-elf-pauthabi-version' module flags must be present4 5;--- err1.ll6 7; RUN: not llvm-as err1.ll -o /dev/null 2>&1 | FileCheck %s8 9!llvm.module.flags = !{!0}10 11!0 = !{i32 1, !"aarch64-elf-pauthabi-platform", i32 2}12 13;--- err2.ll14 15; RUN: not llvm-as err2.ll -o /dev/null 2>&1 | FileCheck %s16 17!llvm.module.flags = !{!0}18 19!0 = !{i32 1, !"aarch64-elf-pauthabi-version", i32 31}20