forked from OSchip/llvm-project
[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:
parent
388cacb341
commit
d1b83b984f
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue