aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h')
-rw-r--r--contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h b/contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h
index 5466e573c1a5..fdfe6aceb033 100644
--- a/contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h
+++ b/contrib/llvm-project/lldb/include/lldb/Utility/ArchSpec.h
@@ -92,6 +92,12 @@ public:
eARM_abi_hard_float = 0x00000400
};
+ enum RISCVSubType {
+ eRISCVSubType_unknown,
+ eRISCVSubType_riscv32,
+ eRISCVSubType_riscv64,
+ };
+
enum Core {
eCore_arm_generic,
eCore_arm_armv4,
@@ -125,6 +131,7 @@ public:
eCore_arm_arm64,
eCore_arm_armv8,
eCore_arm_armv8l,
+ eCore_arm_arm64e,
eCore_arm_arm64_32,
eCore_arm_aarch64,
@@ -184,6 +191,9 @@ public:
eCore_hexagon_hexagonv4,
eCore_hexagon_hexagonv5,
+ eCore_riscv32,
+ eCore_riscv64,
+
eCore_uknownMach32,
eCore_uknownMach64,
@@ -505,7 +515,7 @@ public:
void SetFlags(uint32_t flags) { m_flags = flags; }
- void SetFlags(std::string elf_abi);
+ void SetFlags(const std::string &elf_abi);
protected:
bool IsEqualTo(const ArchSpec &rhs, bool exact_match) const;