Skip to content

Commit

Permalink
Fix build error in ARM64 code (dotnet/coreclr#8407)
Browse files Browse the repository at this point in the history
CONTEXT struct for ARM64 does not contain X29 field.

Commit migrated from dotnet/coreclr@6aa53dc
  • Loading branch information
parjong authored and janvorli committed Dec 1, 2016
1 parent 09d15f1 commit 656187c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/src/pal/src/include/pal/context.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 656187c

Please sign in to comment.