[lldb] Add more missing consts in NativeRegisterContexts

This commit is contained in:
Jonas Devlieghere 2022-04-05 14:39:45 -07:00
parent b7bf5a7a7e
commit 470eb5c29b
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
7 changed files with 7 additions and 7 deletions

View File

@ -177,7 +177,7 @@ Status NativeRegisterContextFreeBSD_arm::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextFreeBSD_arm::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -186,7 +186,7 @@ Status NativeRegisterContextFreeBSD_arm64::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextFreeBSD_arm64::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -213,7 +213,7 @@ Status NativeRegisterContextFreeBSD_mips64::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextFreeBSD_mips64::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -264,7 +264,7 @@ Status NativeRegisterContextFreeBSD_powerpc::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextFreeBSD_powerpc::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -571,7 +571,7 @@ Status NativeRegisterContextFreeBSD_x86_64::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextFreeBSD_x86_64::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -400,7 +400,7 @@ Status NativeRegisterContextLinux_ppc64le::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextLinux_ppc64le::%s "
"DataBuffer::GetBytes() returned a null "

View File

@ -561,7 +561,7 @@ Status NativeRegisterContextNetBSD_x86_64::WriteAllRegisterValues(
return error;
}
uint8_t *src = data_sp->GetBytes();
const uint8_t *src = data_sp->GetBytes();
if (src == nullptr) {
error.SetErrorStringWithFormat("NativeRegisterContextNetBSD_x86_64::%s "
"DataBuffer::GetBytes() returned a null "