Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 731bb02

Browse files
parjongjkotas
authored andcommitted
[x86/Linux] Add Portable PopSEHRecords as NYI (#8412)
1 parent 7c1fb28 commit 731bb02

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

src/vm/i386/cgenx86.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1595,6 +1595,7 @@ extern "C" VOID STDCALL StubRareDisableTHROWWorker(Thread *pThread)
15951595
pThread->HandleThreadAbort();
15961596
}
15971597

1598+
#ifndef FEATURE_PAL
15981599
// Note that this logic is copied below, in PopSEHRecords
15991600
__declspec(naked)
16001601
VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
@@ -1616,6 +1617,7 @@ VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
16161617
retn
16171618
}
16181619
}
1620+
#endif // FEATURE_PAL
16191621

16201622
//////////////////////////////////////////////////////////////////////////////
16211623
//

src/vm/i386/unixstubs.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,8 @@ extern "C"
8888
{
8989
}
9090
};
91+
92+
VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
93+
{
94+
PORTABILITY_ASSERT("Implement for PAL");
95+
}

0 commit comments

Comments
 (0)