]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h
MFV r323792: 8602 remove unused "dp_early_sync_tasks" field from "dsl_pool" structure
[FreeBSD/FreeBSD.git] / contrib / llvm / tools / lldb / source / Utility / ARM64_ehframe_Registers.h
1 //===-- ARM64_ehframe_Registers.h -------------------------------------*- C++
2 //-*-===//
3 //
4 //                     The LLVM Compiler Infrastructure
5 //
6 // This file is distributed under the University of Illinois Open Source
7 // License. See LICENSE.TXT for details.
8 //
9 //===----------------------------------------------------------------------===//
10
11 #ifndef utility_ARM64_ehframe_Registers_h_
12 #define utility_ARM64_ehframe_Registers_h_
13
14 // The register numbers used in the eh_frame unwind information.
15 // Should be the same as DWARF register numbers.
16
17 namespace arm64_ehframe {
18
19 enum {
20   x0 = 0,
21   x1,
22   x2,
23   x3,
24   x4,
25   x5,
26   x6,
27   x7,
28   x8,
29   x9,
30   x10,
31   x11,
32   x12,
33   x13,
34   x14,
35   x15,
36   x16,
37   x17,
38   x18,
39   x19,
40   x20,
41   x21,
42   x22,
43   x23,
44   x24,
45   x25,
46   x26,
47   x27,
48   x28,
49   fp, // aka x29
50   lr, // aka x30
51   sp, // aka x31 aka wzr
52   pc, // value is 32
53   cpsr
54 };
55
56 enum {
57   v0 = 64,
58   v1,
59   v2,
60   v3,
61   v4,
62   v5,
63   v6,
64   v7,
65   v8,
66   v9,
67   v10,
68   v11,
69   v12,
70   v13,
71   v14,
72   v15,
73   v16,
74   v17,
75   v18,
76   v19,
77   v20,
78   v21,
79   v22,
80   v23,
81   v24,
82   v25,
83   v26,
84   v27,
85   v28,
86   v29,
87   v30,
88   v31 // 95
89 };
90 }
91
92 #endif // utility_ARM64_ehframe_Registers_h_