| 1 | //===-- ARM_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_ARM_EHFRAME_REGISTERS_H |
| 11 | #define LLDB_SOURCE_UTILITY_ARM_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 | enum { |
| 17 | ehframe_r0 = 0, |
| 18 | ehframe_r1, |
| 19 | ehframe_r2, |
| 20 | ehframe_r3, |
| 21 | ehframe_r4, |
| 22 | ehframe_r5, |
| 23 | ehframe_r6, |
| 24 | ehframe_r7, |
| 25 | ehframe_r8, |
| 26 | ehframe_r9, |
| 27 | ehframe_r10, |
| 28 | ehframe_r11, |
| 29 | ehframe_r12, |
| 30 | ehframe_sp, |
| 31 | ehframe_lr, |
| 32 | ehframe_pc, |
| 33 | ehframe_cpsr |
| 34 | }; |
| 35 | |
| 36 | #endif // LLDB_SOURCE_UTILITY_ARM_EHFRAME_REGISTERS_H |
| 37 | |