[Lldb-commits] [lldb] c094b1e - [LLDB] Fix RISCV build

via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 25 08:03:28 PDT 2022


Author: Emmmer
Date: 2022-10-25T23:03:16+08:00
New Revision: c094b1eef08cee93e4dd9e69d0f7f511037c8500

URL: https://github.com/llvm/llvm-project/commit/c094b1eef08cee93e4dd9e69d0f7f511037c8500
DIFF: https://github.com/llvm/llvm-project/commit/c094b1eef08cee93e4dd9e69d0f7f511037c8500.diff

LOG: [LLDB] Fix RISCV build

After https://reviews.llvm.org/D135670

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D136674

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp
index 342fc1aa1a416..1d51726a86df1 100644
--- a/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_riscv64.cpp
@@ -135,7 +135,7 @@ NativeRegisterContextLinux_riscv64::ReadRegister(const RegisterInfo *reg_info,
     return Status("failed - register wasn't recognized to be a GPR or an FPR, "
                   "write strategy unknown");
 
-  reg_value.SetFromMemoryData(reg_info, src, reg_info->byte_size,
+  reg_value.SetFromMemoryData(*reg_info, src, reg_info->byte_size,
                               eByteOrderLittle, error);
 
   return error;


        


More information about the lldb-commits mailing list