Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 283de5b

Browse files
mikelle-rogersMikelle Rogers
andauthored
Fix arm64 MacOS and Linux Managed Debugging (#104847)
* check to see if XSTATE is defined on ARM64 * fix for the linux arm32 case --------- Co-authored-by: Mikelle Rogers <[email protected]>
1 parent ab46c54 commit 283de5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/coreclr/debug/inc/common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ ULONG32 ContextSizeForFlags(ULONG32 flags)
9292
else
9393
#endif // TARGET_X86
9494
{
95-
#if !defined(CROSS_COMPILE) && !defined(TARGET_WINDOWS) && defined(TARGET_AMD64)
95+
#if !defined(CROSS_COMPILE) && !defined(TARGET_WINDOWS) && (defined(TARGET_AMD64) || defined(TARGET_ARM64))
9696
if ((flags & CONTEXT_XSTATE) == CONTEXT_XSTATE)
9797
{
9898
return sizeof(T_CONTEXT);

0 commit comments

Comments
 (0)