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 0}14!1 = !{i32 8, !"sign-return-address", i32 1}15!2 = !{i32 8, !"sign-return-address-all", i32 0}16!3 = !{i32 8, !"sign-return-address-with-bkey", i32 0}17 18; PAC attribute present19; ASM: .word 322122547220; ASM-NEXT: .word 421; ASM-NEXT: .word 222 23; OBJ: Properties: aarch64 feature: PAC24