[LLDB] Fix x86_64 build

28e65a6a63 changed the parameter
type of SetType but I forgot to build on x86 as well as arm64.
This commit is contained in:
David Spickett 2022-10-12 09:19:29 +00:00
parent 388cacb341
commit d1b83b984f
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ NativeRegisterContextLinux_x86_64::ReadRegister(const RegisterInfo *reg_info,
// then use the type specified by reg_info rather than the uint64_t
// default
if (reg_value.GetByteSize() > reg_info->byte_size)
reg_value.SetType(reg_info);
reg_value.SetType(*reg_info);
}
return error;
}