[lldb] Update the NativeRegisterContext to take a WritableMemoryBuffer

This commit is contained in:
Jonas Devlieghere
2022-04-05 14:17:26 -07:00
parent 1e085448b3
commit c2f6460145
35 changed files with 35 additions and 35 deletions

View File

@@ -670,7 +670,7 @@ Status NativeRegisterContextWindows_arm64::WriteRegister(
}
Status NativeRegisterContextWindows_arm64::ReadAllRegisterValues(
lldb::DataBufferSP &data_sp) {
lldb::WritableDataBufferSP &data_sp) {
const size_t data_size = REG_CONTEXT_SIZE;
data_sp = std::make_shared<DataBufferHeap>(data_size, 0);
::CONTEXT tls_context;