[lldb] [llvm] [lldb][Process/FreeBSD] Add riscv64 support (PR #180549)

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 10 03:05:11 PST 2026


================
@@ -97,6 +97,8 @@ ThreadElfCore::CreateRegisterContextForFrame(StackFrame *frame) {
       case llvm::Triple::ppc64le:
         reg_interface = new RegisterContextFreeBSD_powerpc64(arch);
         break;
+      case llvm::Triple::riscv64:
+        break;
----------------
DavidSpickett wrote:

Is this making something work, or making it compile?

I see there is a lldb/source/Plugins/Process/elf-core/RegisterContextPOSIXCore_riscv64.cpp file, which could be being picked up. I suppose that's why you wanted the conversions.

But at a glance, I don't see why this is not following the pattern of the others.

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


More information about the llvm-commits mailing list