Skip to content

Commit

Permalink
[x86/Linux] Add Portable PopSEHRecords as NYI (dotnet/coreclr#8412)
Browse files Browse the repository at this point in the history
Commit migrated from dotnet/coreclr@731bb02
  • Loading branch information
parjong authored and jkotas committed Dec 2, 2016
1 parent b3546aa commit fec99a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/src/vm/i386/cgenx86.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,7 @@ extern "C" VOID STDCALL StubRareDisableTHROWWorker(Thread *pThread)
pThread->HandleThreadAbort();
}

#ifndef FEATURE_PAL
// Note that this logic is copied below, in PopSEHRecords
__declspec(naked)
VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
Expand All @@ -1616,6 +1617,7 @@ VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
retn
}
}
#endif // FEATURE_PAL

//////////////////////////////////////////////////////////////////////////////
//
Expand Down
5 changes: 5 additions & 0 deletions src/coreclr/src/vm/i386/unixstubs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ extern "C"
{
}
};

VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
{
PORTABILITY_ASSERT("Implement for PAL");
}

0 comments on commit fec99a9

Please sign in to comment.