Fix an issue where, in i386 mode, the wrong values were being copied into the pair object for a single-entry NSDictionary
Fixes rdar://28502335 llvm-svn: 282754
This commit is contained in:
parent
851cb98269
commit
bcfafa42fb
|
@ -573,8 +573,8 @@ lldb_private::formatters::NSDictionary1SyntheticFrontEnd::GetChildAtIndex(
|
|||
*(data_ptr + 1) = value_at_idx;
|
||||
} else {
|
||||
uint32_t *data_ptr = (uint32_t *)buffer_sp->GetBytes();
|
||||
*data_ptr = key_ptr;
|
||||
*(data_ptr + 1) = value_ptr;
|
||||
*data_ptr = key_at_idx;
|
||||
*(data_ptr + 1) = value_at_idx;
|
||||
}
|
||||
|
||||
DataExtractor data(buffer_sp, process_sp->GetByteOrder(), ptr_size);
|
||||
|
|
Loading…
Reference in New Issue