summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-12-01 19:52:25 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-12-01 11:52:25 +0100
commit6aa53dc3703b49dba774f3c1ea1e988a85e69274 (patch)
tree72abf46b44daefdb858611a0e302fe5f35345583 /src/pal
parentd06220f50d7cc05424aeecb0eee990abb522d37b (diff)
downloadcoreclr-6aa53dc3703b49dba774f3c1ea1e988a85e69274.tar.gz
coreclr-6aa53dc3703b49dba774f3c1ea1e988a85e69274.tar.bz2
coreclr-6aa53dc3703b49dba774f3c1ea1e988a85e69274.zip
Fix build error in ARM64 code (#8407)
CONTEXT struct for ARM64 does not contain X29 field.
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/src/include/pal/context.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pal/src/include/pal/context.h b/src/pal/src/include/pal/context.h
index 794fe32310..92e2d6f89c 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