For the eEncodingIEEE754 registers in RegisterValue::SetType,
only accept the first matching type based on lldb's sizeofs. <rdar://problem/12222109> llvm-svn: 163285
This commit is contained in:
parent
4ed61b001c
commit
9a9422a4ff
|
|
@ -287,9 +287,9 @@ RegisterValue::SetType (const RegisterInfo *reg_info)
|
|||
case eEncodingIEEE754:
|
||||
if (byte_size == sizeof(float))
|
||||
m_type = eTypeFloat;
|
||||
if (byte_size == sizeof(double))
|
||||
else if (byte_size == sizeof(double))
|
||||
m_type = eTypeDouble;
|
||||
if (byte_size == sizeof(long double))
|
||||
else if (byte_size == sizeof(long double))
|
||||
m_type = eTypeLongDouble;
|
||||
break;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue