[NFC][analyzer][docs] Crosslink MallocChecker's ownership attributes (#121939)
[llvm-project.git] / llvm / test / DebugInfo / AArch64 / return-address-signing.ll
blob0b32d001c08a0eff962dba04bd64d63773356a8d
1 ; RUN: llc -mtriple=aarch64 < %s -filetype=obj -o - \
2 ; RUN:    | llvm-dwarfdump -v - | FileCheck -check-prefix=CHECK %s
4 ;CHECK: CIE
5 ;CHECK: Augmentation:          "zR"
6 define i32 @foo()  "sign-return-address"="all" {
7   ret i32 0
10 ;CHECK: CIE
11 ;CHECK: Augmentation:          "zRB"
13 define i32 @bar()  "sign-return-address"="all" "sign-return-address-key"="b_key" {
14   ret i32 0
17 ;CHECK-NOT: CIE
19 define i32 @baz()  "sign-return-address"="all" nounwind {
20   ret i32 0
23 ;CHECK-NOT: CIE
25 define i32 @qux()  "sign-return-address"="all" "sign-return-address-key"="b_key" nounwind {
26   ret i32 0