Skip to content

Commit c094b1e

Browse files
author
Emmmer
committed
[LLDB] Fix RISCV build
After https://reviews.llvm.org/D135670 Reviewed By: DavidSpickett Differential Revision: https://reviews.llvm.org/D136674
1 parent ed1b0da commit c094b1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ NativeRegisterContextLinux_riscv64::ReadRegister(const RegisterInfo *reg_info,
135135
return Status("failed - register wasn't recognized to be a GPR or an FPR, "
136136
"write strategy unknown");
137137

138-
reg_value.SetFromMemoryData(reg_info, src, reg_info->byte_size,
138+
reg_value.SetFromMemoryData(*reg_info, src, reg_info->byte_size,
139139
eByteOrderLittle, error);
140140

141141
return error;

0 commit comments

Comments
 (0)