From 656187c0428f7f3bd3c935d7952c7636a452dafb Mon Sep 17 00:00:00 2001 From: Jonghyun Park Date: Thu, 1 Dec 2016 19:52:25 +0900 Subject: [PATCH] Fix build error in ARM64 code (dotnet/coreclr#8407) CONTEXT struct for ARM64 does not contain X29 field. Commit migrated from https://github.com/dotnet/coreclr/commit/6aa53dc3703b49dba774f3c1ea1e988a85e69274 --- src/coreclr/src/pal/src/include/pal/context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coreclr/src/pal/src/include/pal/context.h b/src/coreclr/src/pal/src/include/pal/context.h index 794fe32..92e2d6f 100644 --- a/src/coreclr/src/pal/src/include/pal/context.h +++ b/src/coreclr/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 -- 2.7.4