[Lldb-commits] [lldb] [lldb][LoongArch] Complete register alias name in `AugmentRegisterInfo` (PR #124059)

Adeel Mujahid via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 22 23:57:32 PST 2025


================
@@ -644,32 +644,22 @@ void ABISysV_loongarch::AugmentRegisterInfo(
     std::vector<lldb_private::DynamicRegisterInfo::Register> &regs) {
   lldb_private::RegInfoBasedABI::AugmentRegisterInfo(regs);
 
+  static const std::unordered_map<std::string, std::string> reg_aliases = {
----------------
am11 wrote:

A nit: perhaps call it `isa_to_abi_alias_map`; r0-r31 is ISA convention and a/s/t is ABI convention. (I think mostly ABI convention is favored in discussions about LA64 and RV64)

https://github.com/llvm/llvm-project/pull/124059


More information about the lldb-commits mailing list