From 83b9a28cf94979f9b6c33f492a4072766eff3e6e Mon Sep 17 00:00:00 2001 From: "rmcilroy@chromium.org" Date: Wed, 2 Apr 2014 23:12:40 +0000 Subject: First cut at adding arm64 Linux / Android support to Breakpad. This is an initial attempt to add Arm64 (aarch64) support to Breakpad for Linux / Android platforms. This CL adds the Arm64 data structures, but does not yet implement the Android getcontext support or CPUFillFromThreadInfo / CPUFillFromUContext. BUG=354405,335641 R=mark@chromium.org Review URL: https://breakpad.appspot.com/1354002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1301 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/memory.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common/memory.h') diff --git a/src/common/memory.h b/src/common/memory.h index a4636059..a4cad94c 100644 --- a/src/common/memory.h +++ b/src/common/memory.h @@ -110,7 +110,7 @@ class PageAllocator { private: uint8_t *GetNPages(size_t num_pages) { -#ifdef __x86_64 +#if defined(__x86_64__) || defined(__aarch64__) void *a = sys_mmap(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0); #else -- cgit v1.2.1