brintos

brintos / llvm-project-archived public Read only

0
0
Text · 653 B · c5995ca Raw
24 lines · plain
1; RUN: llc -mtriple=aarch64-linux %s               -o - | \2; RUN:   FileCheck %s --check-prefix=ASM3; RUN: llc -mtriple=aarch64-linux %s -filetype=obj -o - |  \4; RUN:   llvm-readelf --notes - | FileCheck %s --check-prefix=OBJ5 6define dso_local i32 @f() {7entry:8  ret i32 09}10 11!llvm.module.flags = !{!0, !1, !2, !3}12 13!0 = !{i32 8, !"branch-target-enforcement", i32 1}14!1 = !{i32 8, !"sign-return-address", i32 0}15!2 = !{i32 8, !"sign-return-address-all", i32 0}16!3 = !{i32 8, !"sign-return-address-with-bkey", i32 0}17 18; BTI attribute present19; ASM:	    .word	322122547220; ASM-NEXT:	.word	421; ASM-NEXT:	.word	122 23; OBJ: Properties: aarch64 feature: BTI24