[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git] / test / DebugInfo / AArch64 / return-address-signing.ll
blobc679a9da65d6ee8cc4e02c60a3432e2e99bcf757
1 ; RUN: llc -mtriple=aarch64-arm-none-eabi < %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