1 ; RUN: llc -mtriple=aarch64-linux %s -o - | \
2 ; RUN: FileCheck %s --check-prefix=ASM
4 define dso_local i32 @f() #0 {
9 define dso_local i32 @g() #1 {
14 attributes #0 = { "branch-target-enforcement" "sign-return-address"="non-leaf" }
16 attributes #1 = { "branch-target-enforcement" }
18 !llvm.module.flags = !{!0, !1, !2, !3}
20 !0 = !{i32 8, !"branch-target-enforcement", i32 0}
21 !1 = !{i32 8, !"sign-return-address", i32 0}
22 !2 = !{i32 8, !"sign-return-address-all", i32 0}
23 !3 = !{i32 8, !"sign-return-address-with-bkey", i32 0}
25 ; Note is not emited if module has no properties
26 ; ASM-NOT: .note.gnu.property