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

[x86/Linux] Add Portable PopSEHRecords as NYI #8412

Merged
merged 2 commits into from
Dec 2, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/vm/i386/cgenx86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,12 @@ extern "C" VOID STDCALL StubRareDisableTHROWWorker(Thread *pThread)
pThread->HandleThreadAbort();
}

#ifdef FEATURE_PAL
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you put it into src/vm/i386/unixstubs.cpp instead, please?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
{
_ASSERTE("NYI");
}
#else // FEATURE_PAL
// Note that this logic is copied below, in PopSEHRecords
__declspec(naked)
VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
Expand All @@ -1616,6 +1622,7 @@ VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
retn
}
}
#endif // FEATURE_PAL

//////////////////////////////////////////////////////////////////////////////
//
Expand Down