summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-04-05 14:17:26 -0700
committerJonas Devlieghere <jonas@devlieghere.com>2022-04-05 14:19:01 -0700
commitc2f6460145175d265cd1a7ad7906b778bb11fa3d (patch)
treee8e18108bf82214337da9fd87b6eb7701518d046 /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
parent1e085448b36db240c9068c8c4e4cb12d4d7093cb (diff)
[lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
index 3d8715050ae0..dd91af54f454 100644
--- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
@@ -1240,7 +1240,7 @@ NativeProcessLinux::Syscall(llvm::ArrayRef<uint64_t> args) {
NativeRegisterContextLinux::SyscallData syscall_data =
*reg_ctx.GetSyscallData();
- DataBufferSP registers_sp;
+ WritableDataBufferSP registers_sp;
if (llvm::Error Err = reg_ctx.ReadAllRegisterValues(registers_sp).ToError())
return std::move(Err);
auto restore_regs = llvm::make_scope_exit(