[all-commits] [llvm/llvm-project] a84d74: [lldb] Support both RISCV-32 and RISCV-64 in GetRe...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Jan 16 15:24:47 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a84d74355e741ba5b9fd68eff24216d086de09f2
      https://github.com/llvm/llvm-project/commit/a84d74355e741ba5b9fd68eff24216d086de09f2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-01-16 (Fri, 16 Jan 2026)

  Changed paths:
    M lldb/source/Plugins/Instruction/RISCV/EmulateInstructionRISCV.cpp
    M lldb/unittests/Instruction/RISCV/TestRISCVEmulator.cpp

  Log Message:
  -----------
  [lldb] Support both RISCV-32 and RISCV-64 in GetRegisterInfo (#176472)

`GetRegisterInfo` hardcodes to use `RegisterInfoPOSIX_riscv64` instead
of checking the triple to determine whether to use
`RegisterInfoPOSIX_riscv64` or `RegisterInfoPOSIX_riscv32`.

Someone put up a [PR](https://github.com/llvm/llvm-project/pull/175262)
for this, but seems to have removed their account and the associated PR
with it.

Fixes #175092



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list