LLDB  mainline
ARM64_ehframe_Registers.h
Go to the documentation of this file.
1 //===-- ARM64_ehframe_Registers.h -------------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
9 
10 #ifndef LLDB_SOURCE_UTILITY_ARM64_EHFRAME_REGISTERS_H
11 #define LLDB_SOURCE_UTILITY_ARM64_EHFRAME_REGISTERS_H
12 
13 // The register numbers used in the eh_frame unwind information.
14 // Should be the same as DWARF register numbers.
15 
16 namespace arm64_ehframe {
17 
18 enum {
19  x0 = 0,
20  x1,
21  x2,
22  x3,
23  x4,
24  x5,
25  x6,
26  x7,
27  x8,
28  x9,
29  x10,
30  x11,
31  x12,
32  x13,
33  x14,
34  x15,
35  x16,
36  x17,
37  x18,
38  x19,
39  x20,
40  x21,
41  x22,
42  x23,
43  x24,
44  x25,
45  x26,
46  x27,
47  x28,
48  fp, // aka x29
49  lr, // aka x30
50  sp, // aka x31 aka wzr
51  pc, // value is 32
53  // 34-45 reserved
54 
55  // 64-bit SVE Vector granule pseudo register
56  vg = 46,
57 
58  // VG ́8-bit SVE first fault register
59  ffr = 47,
60 
61  // VG x ́8-bit SVE predicate registers
62  p0 = 48,
63  p1,
64  p2,
65  p3,
66  p4,
67  p5,
68  p6,
69  p7,
70  p8,
71  p9,
72  p10,
73  p11,
74  p12,
75  p13,
76  p14,
77  p15,
78 
79  // V0-V31 (128 bit vector registers)
80  v0 = 64,
81  v1,
82  v2,
83  v3,
84  v4,
85  v5,
86  v6,
87  v7,
88  v8,
89  v9,
90  v10,
91  v11,
92  v12,
93  v13,
94  v14,
95  v15,
96  v16,
97  v17,
98  v18,
99  v19,
112 
113  // VG ́64-bit SVE vector registers
114  z0 = 96,
115  z1,
116  z2,
117  z3,
118  z4,
119  z5,
120  z6,
121  z7,
122  z8,
123  z9,
146 };
147 }
148 
149 #endif // LLDB_SOURCE_UTILITY_ARM64_EHFRAME_REGISTERS_H
arm64_ehframe::z13
@ z13
Definition: ARM64_ehframe_Registers.h:127
arm64_ehframe::z14
@ z14
Definition: ARM64_ehframe_Registers.h:128
arm64_ehframe::x15
@ x15
Definition: ARM64_ehframe_Registers.h:34
arm64_ehframe::z18
@ z18
Definition: ARM64_ehframe_Registers.h:132
arm64_ehframe::p13
@ p13
Definition: ARM64_ehframe_Registers.h:75
arm64_ehframe::p4
@ p4
Definition: ARM64_ehframe_Registers.h:66
arm64_ehframe::x27
@ x27
Definition: ARM64_ehframe_Registers.h:46
arm64_ehframe::v23
@ v23
Definition: ARM64_ehframe_Registers.h:103
arm64_ehframe::z31
@ z31
Definition: ARM64_ehframe_Registers.h:145
arm64_ehframe::z6
@ z6
Definition: ARM64_ehframe_Registers.h:120
arm64_ehframe::v9
@ v9
Definition: ARM64_ehframe_Registers.h:89
arm64_ehframe::v7
@ v7
Definition: ARM64_ehframe_Registers.h:87
arm64_ehframe::x0
@ x0
Definition: ARM64_ehframe_Registers.h:19
arm64_ehframe::z19
@ z19
Definition: ARM64_ehframe_Registers.h:133
arm64_ehframe::v20
@ v20
Definition: ARM64_ehframe_Registers.h:100
arm64_ehframe::x25
@ x25
Definition: ARM64_ehframe_Registers.h:44
arm64_ehframe::v11
@ v11
Definition: ARM64_ehframe_Registers.h:91
arm64_ehframe::z5
@ z5
Definition: ARM64_ehframe_Registers.h:119
arm64_ehframe::v13
@ v13
Definition: ARM64_ehframe_Registers.h:93
arm64_ehframe::z21
@ z21
Definition: ARM64_ehframe_Registers.h:135
arm64_ehframe::x22
@ x22
Definition: ARM64_ehframe_Registers.h:41
arm64_ehframe::z7
@ z7
Definition: ARM64_ehframe_Registers.h:121
arm64_ehframe::x17
@ x17
Definition: ARM64_ehframe_Registers.h:36
arm64_ehframe::v1
@ v1
Definition: ARM64_ehframe_Registers.h:81
arm64_ehframe::z3
@ z3
Definition: ARM64_ehframe_Registers.h:117
arm64_ehframe::z16
@ z16
Definition: ARM64_ehframe_Registers.h:130
arm64_ehframe::p5
@ p5
Definition: ARM64_ehframe_Registers.h:67
arm64_ehframe::x10
@ x10
Definition: ARM64_ehframe_Registers.h:29
arm64_ehframe::x11
@ x11
Definition: ARM64_ehframe_Registers.h:30
arm64_ehframe::z15
@ z15
Definition: ARM64_ehframe_Registers.h:129
arm64_ehframe::z27
@ z27
Definition: ARM64_ehframe_Registers.h:141
arm64_ehframe::z24
@ z24
Definition: ARM64_ehframe_Registers.h:138
arm64_ehframe::v25
@ v25
Definition: ARM64_ehframe_Registers.h:105
arm64_ehframe::z10
@ z10
Definition: ARM64_ehframe_Registers.h:124
arm64_ehframe::z11
@ z11
Definition: ARM64_ehframe_Registers.h:125
arm64_ehframe::v12
@ v12
Definition: ARM64_ehframe_Registers.h:92
arm64_ehframe::z26
@ z26
Definition: ARM64_ehframe_Registers.h:140
arm64_ehframe::x13
@ x13
Definition: ARM64_ehframe_Registers.h:32
arm64_ehframe::p0
@ p0
Definition: ARM64_ehframe_Registers.h:62
arm64_ehframe
Definition: ARM64_ehframe_Registers.h:16
arm64_ehframe::z25
@ z25
Definition: ARM64_ehframe_Registers.h:139
arm64_ehframe::v28
@ v28
Definition: ARM64_ehframe_Registers.h:108
arm64_ehframe::x5
@ x5
Definition: ARM64_ehframe_Registers.h:24
arm64_ehframe::x12
@ x12
Definition: ARM64_ehframe_Registers.h:31
arm64_ehframe::z30
@ z30
Definition: ARM64_ehframe_Registers.h:144
arm64_ehframe::x20
@ x20
Definition: ARM64_ehframe_Registers.h:39
arm64_ehframe::x19
@ x19
Definition: ARM64_ehframe_Registers.h:38
arm64_ehframe::p3
@ p3
Definition: ARM64_ehframe_Registers.h:65
arm64_ehframe::v3
@ v3
Definition: ARM64_ehframe_Registers.h:83
arm64_ehframe::v6
@ v6
Definition: ARM64_ehframe_Registers.h:86
arm64_ehframe::v31
@ v31
Definition: ARM64_ehframe_Registers.h:111
arm64_ehframe::v15
@ v15
Definition: ARM64_ehframe_Registers.h:95
arm64_ehframe::p7
@ p7
Definition: ARM64_ehframe_Registers.h:69
arm64_ehframe::v17
@ v17
Definition: ARM64_ehframe_Registers.h:97
arm64_ehframe::z1
@ z1
Definition: ARM64_ehframe_Registers.h:115
arm64_ehframe::p1
@ p1
Definition: ARM64_ehframe_Registers.h:63
arm64_ehframe::cpsr
@ cpsr
Definition: ARM64_ehframe_Registers.h:52
arm64_ehframe::x28
@ x28
Definition: ARM64_ehframe_Registers.h:47
arm64_ehframe::v21
@ v21
Definition: ARM64_ehframe_Registers.h:101
arm64_ehframe::v18
@ v18
Definition: ARM64_ehframe_Registers.h:98
arm64_ehframe::v5
@ v5
Definition: ARM64_ehframe_Registers.h:85
arm64_ehframe::x14
@ x14
Definition: ARM64_ehframe_Registers.h:33
arm64_ehframe::x3
@ x3
Definition: ARM64_ehframe_Registers.h:22
arm64_ehframe::v10
@ v10
Definition: ARM64_ehframe_Registers.h:90
arm64_ehframe::z2
@ z2
Definition: ARM64_ehframe_Registers.h:116
arm64_ehframe::v26
@ v26
Definition: ARM64_ehframe_Registers.h:106
arm64_ehframe::z4
@ z4
Definition: ARM64_ehframe_Registers.h:118
arm64_ehframe::v4
@ v4
Definition: ARM64_ehframe_Registers.h:84
arm64_ehframe::p12
@ p12
Definition: ARM64_ehframe_Registers.h:74
arm64_ehframe::x7
@ x7
Definition: ARM64_ehframe_Registers.h:26
arm64_ehframe::v14
@ v14
Definition: ARM64_ehframe_Registers.h:94
arm64_ehframe::z9
@ z9
Definition: ARM64_ehframe_Registers.h:123
arm64_ehframe::x2
@ x2
Definition: ARM64_ehframe_Registers.h:21
arm64_ehframe::z28
@ z28
Definition: ARM64_ehframe_Registers.h:142
arm64_ehframe::lr
@ lr
Definition: ARM64_ehframe_Registers.h:49
arm64_ehframe::x6
@ x6
Definition: ARM64_ehframe_Registers.h:25
arm64_ehframe::p9
@ p9
Definition: ARM64_ehframe_Registers.h:71
arm64_ehframe::x18
@ x18
Definition: ARM64_ehframe_Registers.h:37
arm64_ehframe::p6
@ p6
Definition: ARM64_ehframe_Registers.h:68
arm64_ehframe::z0
@ z0
Definition: ARM64_ehframe_Registers.h:114
arm64_ehframe::x26
@ x26
Definition: ARM64_ehframe_Registers.h:45
arm64_ehframe::v19
@ v19
Definition: ARM64_ehframe_Registers.h:99
arm64_ehframe::x4
@ x4
Definition: ARM64_ehframe_Registers.h:23
arm64_ehframe::p11
@ p11
Definition: ARM64_ehframe_Registers.h:73
arm64_ehframe::p2
@ p2
Definition: ARM64_ehframe_Registers.h:64
arm64_ehframe::x9
@ x9
Definition: ARM64_ehframe_Registers.h:28
arm64_ehframe::fp
@ fp
Definition: ARM64_ehframe_Registers.h:48
arm64_ehframe::z8
@ z8
Definition: ARM64_ehframe_Registers.h:122
arm64_ehframe::z22
@ z22
Definition: ARM64_ehframe_Registers.h:136
arm64_ehframe::z23
@ z23
Definition: ARM64_ehframe_Registers.h:137
arm64_ehframe::v29
@ v29
Definition: ARM64_ehframe_Registers.h:109
arm64_ehframe::z29
@ z29
Definition: ARM64_ehframe_Registers.h:143
arm64_ehframe::z17
@ z17
Definition: ARM64_ehframe_Registers.h:131
arm64_ehframe::v16
@ v16
Definition: ARM64_ehframe_Registers.h:96
arm64_ehframe::v8
@ v8
Definition: ARM64_ehframe_Registers.h:88
arm64_ehframe::v24
@ v24
Definition: ARM64_ehframe_Registers.h:104
arm64_ehframe::vg
@ vg
Definition: ARM64_ehframe_Registers.h:56
arm64_ehframe::x23
@ x23
Definition: ARM64_ehframe_Registers.h:42
arm64_ehframe::p15
@ p15
Definition: ARM64_ehframe_Registers.h:77
arm64_ehframe::sp
@ sp
Definition: ARM64_ehframe_Registers.h:50
arm64_ehframe::v0
@ v0
Definition: ARM64_ehframe_Registers.h:80
arm64_ehframe::x1
@ x1
Definition: ARM64_ehframe_Registers.h:20
arm64_ehframe::v30
@ v30
Definition: ARM64_ehframe_Registers.h:110
arm64_ehframe::ffr
@ ffr
Definition: ARM64_ehframe_Registers.h:59
arm64_ehframe::v2
@ v2
Definition: ARM64_ehframe_Registers.h:82
arm64_ehframe::z20
@ z20
Definition: ARM64_ehframe_Registers.h:134
arm64_ehframe::v27
@ v27
Definition: ARM64_ehframe_Registers.h:107
arm64_ehframe::pc
@ pc
Definition: ARM64_ehframe_Registers.h:51
arm64_ehframe::v22
@ v22
Definition: ARM64_ehframe_Registers.h:102
arm64_ehframe::p8
@ p8
Definition: ARM64_ehframe_Registers.h:70
arm64_ehframe::x8
@ x8
Definition: ARM64_ehframe_Registers.h:27
arm64_ehframe::x24
@ x24
Definition: ARM64_ehframe_Registers.h:43
arm64_ehframe::z12
@ z12
Definition: ARM64_ehframe_Registers.h:126
arm64_ehframe::p10
@ p10
Definition: ARM64_ehframe_Registers.h:72
arm64_ehframe::p14
@ p14
Definition: ARM64_ehframe_Registers.h:76
arm64_ehframe::x16
@ x16
Definition: ARM64_ehframe_Registers.h:35
arm64_ehframe::x21
@ x21
Definition: ARM64_ehframe_Registers.h:40