From 3948dcf6854a92f7e5430b792c3fef48e5d6e4e1 Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Fri, 4 Nov 2016 18:59:05 +0900 Subject: [PATCH] Fix build error in ARM64 code CONTEXT struct for ARM64 does not contain X29 field. --- src/pal/src/include/pal/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pal/src/include/pal/context.h b/src/pal/src/include/pal/context.h index 794fe32310e0..92e2d6f89cf8 100644 --- a/src/pal/src/include/pal/context.h +++ b/src/pal/src/include/pal/context.h @@ -485,7 +485,7 @@ inline static DWORD64 CONTEXTGetFP(LPCONTEXT pContext) #elif defined(_ARM_) return pContext->R7; #elif defined(_ARM64_) - return pContext->X29; + return pContext->Fp; #else #error don't know how to get the frame pointer for this architecture #endif