From 12d72ba492fd48a6821bc7b3842839e8a124d0e2 Mon Sep 17 00:00:00 2001 From: "blundell@chromium.org" Date: Mon, 11 Aug 2014 12:55:23 +0000 Subject: [PATCH] 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 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 --- src/client/mac/handler/mach_vm_compat.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/client/mac/handler/mach_vm_compat.h b/src/client/mac/handler/mach_vm_compat.h index cb5cf2bd..9e9028b9 100644 --- a/src/client/mac/handler/mach_vm_compat.h +++ b/src/client/mac/handler/mach_vm_compat.h @@ -39,11 +39,7 @@ #define mach_vm_address_t vm_address_t #define mach_vm_deallocate vm_deallocate #define mach_vm_read vm_read -#if defined(__LP64__) #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 #else #include