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;


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to