Update the dyld_all_image_infos size definition in

DynamicLoaderMacOSXDYLD::ReadAllImageInfosStructure for
version 13 of that structure.

llvm-svn: 179584
This commit is contained in:
Jason Molenda 2013-04-16 06:28:00 +00:00
parent 0e0954c85a
commit 53756c4a89
1 changed files with 4 additions and 1 deletions

View File

@ -709,7 +709,10 @@ DynamicLoaderMacOSXDYLD::ReadAllImageInfosStructure ()
addr_size + // errorClientOfDylibPath
addr_size + // errorTargetDylibPath
addr_size; // errorSymbol
assert (sizeof (buf) >= count_v11);
const size_t count_v13 = count_v11 +
addr_size + // sharedCacheSlide
sizeof (uuid_t); // sharedCacheUUID
assert (sizeof (buf) >= count_v13);
Error error;
if (m_process->ReadMemory (m_dyld_all_image_infos_addr, buf, 4, error) == 4)