File tree Expand file tree Collapse file tree 2 files changed +6
-8
lines changed
Expand file tree Collapse file tree 2 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -449,11 +449,11 @@ ASMCONSTANTS_C_ASSERT(OFFSETOF__CONTEXT__VectorRegister
449449ASMCONSTANTS_C_ASSERT (SIZEOF__FaultingExceptionFrame
450450 == sizeof (FaultingExceptionFrame));
451451
452- #define OFFSETOF__FaultingExceptionFrame__m_fFilterExecuted (SIZEOF__Frame + 0x8 )
452+ #define OFFSETOF__FaultingExceptionFrame__m_fFilterExecuted 0x10
453453ASMCONSTANTS_C_ASSERT (OFFSETOF__FaultingExceptionFrame__m_fFilterExecuted
454454 == offsetof(FaultingExceptionFrame, m_fFilterExecuted));
455455
456- #define OFFSETOF__FaultingExceptionFrame__m_SSP (SIZEOF__Frame )
456+ #define OFFSETOF__FaultingExceptionFrame__m_SSP (0x20 + SIZEOF__CONTEXT )
457457ASMCONSTANTS_C_ASSERT (OFFSETOF__FaultingExceptionFrame__m_SSP
458458 == offsetof(FaultingExceptionFrame, m_SSP));
459459
Original file line number Diff line number Diff line change @@ -933,10 +933,6 @@ class FaultingExceptionFrame : public Frame
933933{
934934 friend class CheckAsmOffsets ;
935935
936- #ifdef TARGET_AMD64
937- TADDR m_SSP;
938- #endif
939-
940936#ifndef FEATURE_EH_FUNCLETS
941937#ifdef TARGET_X86
942938 DWORD m_Esp;
@@ -948,11 +944,13 @@ class FaultingExceptionFrame : public Frame
948944#else // FEATURE_EH_FUNCLETS
949945 BOOL m_fFilterExecuted; // Flag for FirstCallToHandler
950946 TADDR m_ReturnAddress;
951- // This T_CONTEXT field needs to be the last field in the class because it is a
952- // different size between Linux (pal.h) and the Windows cross-DAC (winnt.h).
953947 T_CONTEXT m_ctx;
954948#endif // !FEATURE_EH_FUNCLETS
955949
950+ #ifdef TARGET_AMD64
951+ TADDR m_SSP;
952+ #endif
953+
956954public:
957955#ifndef DACCESS_COMPILE
958956 FaultingExceptionFrame () : Frame(FrameIdentifier::FaultingExceptionFrame) {
You can’t perform that action at this time.
0 commit comments