aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2016-01-04 01:16:32 +0000
committerEd Maste <emaste@FreeBSD.org>2016-01-04 01:16:32 +0000
commit9f2f44ceeb195c67fbbf0953f03c530f6f1e59d4 (patch)
tree1a3cc0a2c3d432ddf9ffc14f06bd43e8097fc93c /contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h
parent0a97e59728ecf251d065745cb716ffe32b24aa28 (diff)
parent3bd2e91faeb9eeec1aae82c64a3253afff551cfd (diff)
downloadsrc-9f2f44ceeb195c67fbbf0953f03c530f6f1e59d4.tar.gz
src-9f2f44ceeb195c67fbbf0953f03c530f6f1e59d4.zip
Merge LLDB 3.8
As with previous imports a number of plugins not immediately relevant to FreeBSD have been excluded: ABIMacOSX_i386 ABIMacOSX_arm ABIMacOSX_arm64 ABISysV_hexagon AppleObjCRuntimeV2 AppleObjCRuntimeV1 SystemRuntimeMacOSX RenderScriptRuntime GoLanguageRuntime GoLanguage ObjCLanguage ObjCPlusPlusLanguage ObjectFilePECOFF DynamicLoaderWindowsDYLD platform_linux platform_netbsd PlatformWindows PlatformKalimba platform_android DynamicLoaderMacOSXDYLD ObjectContainerUniversalMachO PlatformRemoteiOS PlatformMacOSX OperatingSystemGo
Notes
Notes: svn path=/projects/clang380-import/; revision=293127
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h')
-rw-r--r--contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h b/contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h
new file mode 100644
index 000000000000..0a5c68c63b7e
--- /dev/null
+++ b/contrib/llvm/tools/lldb/source/Utility/ARM64_ehframe_Registers.h
@@ -0,0 +1,95 @@
+//===-- ARM64_ehframe_Registers.h -------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef utility_ARM64_ehframe_Registers_h_
+#define utility_ARM64_ehframe_Registers_h_
+
+// The register numbers used in the eh_frame unwind information.
+// Should be the same as DWARF register numbers.
+
+namespace arm64_ehframe {
+
+enum
+{
+ x0 = 0,
+ x1,
+ x2,
+ x3,
+ x4,
+ x5,
+ x6,
+ x7,
+ x8,
+ x9,
+ x10,
+ x11,
+ x12,
+ x13,
+ x14,
+ x15,
+ x16,
+ x17,
+ x18,
+ x19,
+ x20,
+ x21,
+ x22,
+ x23,
+ x24,
+ x25,
+ x26,
+ x27,
+ x28,
+ fp, // aka x29
+ lr, // aka x30
+ sp, // aka x31 aka wzr
+ pc, // value is 32
+ cpsr
+};
+
+enum
+{
+ v0 = 64,
+ v1,
+ v2,
+ v3,
+ v4,
+ v5,
+ v6,
+ v7,
+ v8,
+ v9,
+ v10,
+ v11,
+ v12,
+ v13,
+ v14,
+ v15,
+ v16,
+ v17,
+ v18,
+ v19,
+ v20,
+ v21,
+ v22,
+ v23,
+ v24,
+ v25,
+ v26,
+ v27,
+ v28,
+ v29,
+ v30,
+ v31 // 95
+};
+
+}
+
+#endif // utility_ARM64_ehframe_Registers_h_
+