diff options
Diffstat (limited to 'src/vm/i386/unixstubs.cpp')
-rw-r--r-- | src/vm/i386/unixstubs.cpp | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/src/vm/i386/unixstubs.cpp b/src/vm/i386/unixstubs.cpp new file mode 100644 index 0000000000..9fe7127946 --- /dev/null +++ b/src/vm/i386/unixstubs.cpp @@ -0,0 +1,106 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. +// See the LICENSE file in the project root for more information. + +#include "common.h" + +extern "C" +{ + void ThrowControlForThread() + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void NakedThrowHelper() + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void PInvokeStubForHost() + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void PInvokeStubForHostInner(DWORD dwStackSize, LPVOID pStackFrame, LPVOID pTarget) + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void ProfileEnterNaked(FunctionIDOrClientID functionIDOrClientID) + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void ProfileLeaveNaked(FunctionIDOrClientID functionIDOrClientID) + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void ProfileTailcallNaked(FunctionIDOrClientID functionIDOrClientID) + { + PORTABILITY_ASSERT("Implement for PAL"); + } + + void STDCALL JIT_ProfilerEnterLeaveTailcallStub(UINT_PTR ProfilerHandle) + { + } + + _Unwind_Reason_Code + UnhandledExceptionHandlerUnix( + IN int version, + IN _Unwind_Action action, + IN uint64_t exceptionClass, + IN struct _Unwind_Exception *exception, + IN struct _Unwind_Context *context + ) + { + PORTABILITY_ASSERT("UnhandledExceptionHandlerUnix"); + return _URC_FATAL_PHASE1_ERROR; + } + + BOOL CallRtlUnwind() + { + PORTABILITY_ASSERT("CallRtlUnwind"); + return FALSE; + } +}; + +VOID __cdecl PopSEHRecords(LPVOID pTargetSP) +{ + PORTABILITY_ASSERT("Implement for PAL"); +} + +EXTERN_C VOID SinglecastDelegateInvokeStub() +{ + PORTABILITY_ASSERT("SinglecastDelegateInvokeStub"); +} + +EXTERN_C VOID ResolveWorkerChainLookupAsmStub() +{ + PORTABILITY_ASSERT("ResolveWorkerChainLookupAsmStub"); +} + +EXTERN_C VOID BackPatchWorkerAsmStub() +{ + PORTABILITY_ASSERT("BackPatchWorkerAsmStub"); +} + +EXTERN_C VOID JIT_TailCall() +{ + PORTABILITY_ASSERT("JIT_TailCall"); +} + +EXTERN_C VOID JIT_TailCallReturnFromVSD() +{ + PORTABILITY_ASSERT("JIT_TailCallReturnFromVSD"); +} + +EXTERN_C VOID JIT_TailCallVSDLeave() +{ + PORTABILITY_ASSERT("JIT_TailCallVSDLeave"); +} + +EXTERN_C VOID JIT_TailCallLeave() +{ + PORTABILITY_ASSERT("JIT_TailCallLeave"); +} |