Set 32 bits iOS app to use vm_region_recurse_64.

Using the vm_region_recurse API with a vm_region_submap_info_64
structure leads to a deviation in the structure when reading the user_tag
field.
Switching to the vm_region_recurse_64 API.

Patch by Olivier Robin <olivierrobin@chromium.org>

BUG=crbug/397133

Review URL: https://breakpad.appspot.com/4664002/

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1363 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
blundell@chromium.org 2014-08-11 12:55:23 +00:00
parent 2a5c22a580
commit 12d72ba492

View file

@ -39,11 +39,7 @@
#define mach_vm_address_t vm_address_t #define mach_vm_address_t vm_address_t
#define mach_vm_deallocate vm_deallocate #define mach_vm_deallocate vm_deallocate
#define mach_vm_read vm_read #define mach_vm_read vm_read
#if defined(__LP64__)
#define mach_vm_region_recurse vm_region_recurse_64 #define mach_vm_region_recurse vm_region_recurse_64
#else
#define mach_vm_region_recurse vm_region_recurse
#endif
#define mach_vm_size_t vm_size_t #define mach_vm_size_t vm_size_t
#else #else
#include <mach/mach_vm.h> #include <mach/mach_vm.h>