Skip to content

Commit

Permalink
VM hack.
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonycanino committed Feb 2, 2023
1 parent 73f43b6 commit c6f1a90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coreclr/vm/threadsuspend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1977,7 +1977,7 @@ CONTEXT* AllocateOSContextHelper(BYTE** contextBuffer)

// Retrieve contextSize by passing NULL for Buffer
DWORD contextSize = 0;
ULONG64 xStateCompactionMask = XSTATE_MASK_LEGACY | XSTATE_MASK_AVX | XSTATE_MASK_AVX512;
ULONG64 xStateCompactionMask = XSTATE_MASK_LEGACY | XSTATE_MASK_AVX | XSTATE_MASK_MPX | XSTATE_MASK_AVX512;
// The initialize call should fail but return contextSize
BOOL success = g_pfnInitializeContext2 ?
g_pfnInitializeContext2(NULL, context, NULL, &contextSize, xStateCompactionMask) :
Expand Down

0 comments on commit c6f1a90

Please sign in to comment.