[x86/Linux] Add Portable PopSEHRecords as NYI (dotnet/coreclr#8412)
authorJonghyun Park <parjong@gmail.com>
Fri, 2 Dec 2016 00:58:37 +0000 (09:58 +0900)
committerJan Kotas <jkotas@microsoft.com>
Fri, 2 Dec 2016 00:58:37 +0000 (16:58 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/731bb02df3aa410d69641226364fb52c3567faba

src/coreclr/src/vm/i386/cgenx86.cpp
src/coreclr/src/vm/i386/unixstubs.cpp

index b3bb14f..37fefd0 100644 (file)
@@ -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)
@@ -1616,6 +1617,7 @@ VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
         retn
     }
 }
+#endif // FEATURE_PAL
 
 //////////////////////////////////////////////////////////////////////////////
 //
index e7f4957..86dd75d 100644 (file)
@@ -88,3 +88,8 @@ extern "C"
     {
     }
 };
+
+VOID __cdecl PopSEHRecords(LPVOID pTargetSP)
+{
+    PORTABILITY_ASSERT("Implement for PAL");
+}