@@ -252,7 +252,7 @@ VOID DECLSPEC_NORETURN RealCOMPlusThrowNonLocalized(RuntimeExceptionKind reKind,
252
252
// ==========================================================================
253
253
254
254
VOID DECLSPEC_NORETURN RealCOMPlusThrow (OBJECTREF throwable);
255
- VOID DECLSPEC_NORETURN PropagateExceptionThroughNativeFrames (Object *exceptionObj);
255
+ VOID DECLSPEC_NORETURN __fastcall PropagateExceptionThroughNativeFrames (Object *exceptionObj);
256
256
257
257
// ==========================================================================
258
258
// Throw an undecorated runtime exception.
@@ -510,30 +510,29 @@ BOOL IsThreadHijackedForThreadStop(Thread* pThread, EXCEPTION_RECORD* pEx
510
510
void AdjustContextForThreadStop (Thread* pThread, T_CONTEXT* pContext);
511
511
OBJECTREF CreateCOMPlusExceptionObject (Thread* pThread, EXCEPTION_RECORD* pExceptionRecord, BOOL bAsynchronousThreadStop);
512
512
513
+ #if defined(TARGET_WINDOWS) && defined(TARGET_X86)
514
+ // Pop off any SEH handlers we have registered below pTargetSP
515
+ VOID PopSEHRecords (LPVOID pTargetSP);
516
+
517
+ // Misc functions to access and update the SEH chain. Be very, very careful about updating the SEH chain.
518
+ PEXCEPTION_REGISTRATION_RECORD GetCurrentSEHRecord ();
519
+ VOID SetCurrentSEHRecord (EXCEPTION_REGISTRATION_RECORD *pSEH);
520
+ #endif
521
+
513
522
#if !defined(FEATURE_EH_FUNCLETS)
514
523
EXCEPTION_HANDLER_DECL (COMPlusFrameHandler);
515
524
EXCEPTION_HANDLER_DECL (COMPlusNestedExceptionHandler);
516
525
#ifdef FEATURE_COMINTEROP
517
526
EXCEPTION_HANDLER_DECL (COMPlusFrameHandlerRevCom);
518
527
#endif // FEATURE_COMINTEROP
519
528
520
- // Pop off any SEH handlers we have registered below pTargetSP
521
- VOID PopSEHRecords (LPVOID pTargetSP);
522
-
523
529
#ifdef DEBUGGING_SUPPORTED
524
530
VOID UnwindExceptionTrackerAndResumeInInterceptionFrame (ExInfo* pExInfo, EHContext* context);
525
531
#endif // DEBUGGING_SUPPORTED
526
532
527
533
BOOL PopNestedExceptionRecords (LPVOID pTargetSP, BOOL bCheckForUnknownHandlers = FALSE );
528
534
VOID PopNestedExceptionRecords (LPVOID pTargetSP, T_CONTEXT *pCtx, void *pSEH);
529
535
530
- // Misc functions to access and update the SEH chain. Be very, very careful about updating the SEH chain.
531
- // Frankly, if you think you need to use one of these function, please
532
- // consult with the owner of the exception system.
533
- PEXCEPTION_REGISTRATION_RECORD GetCurrentSEHRecord ();
534
- VOID SetCurrentSEHRecord (EXCEPTION_REGISTRATION_RECORD *pSEH);
535
-
536
-
537
536
#define STACK_OVERWRITE_BARRIER_SIZE 20
538
537
#define STACK_OVERWRITE_BARRIER_VALUE 0xabcdefab
539
538
0 commit comments