Remove FORCEINLINE from GetUnwindDataBlob so that the compiler
always emits it in codeman.obj. The code in nidump.cpp
(NativeImageDumper::DumpReadyToRunMethod) calls this method so
we were getting link errors if GetUnwindDataBlob wasn't emitted in codeman.obj.
GetUnwindDataBlob is small enough for a compiler to inline it even without FORCEINLINE.
-FORCEINLINE PTR_VOID GetUnwindDataBlob(TADDR moduleBase, PTR_RUNTIME_FUNCTION pRuntimeFunction, /* out */ SIZE_T * pSize)
+PTR_VOID GetUnwindDataBlob(TADDR moduleBase, PTR_RUNTIME_FUNCTION pRuntimeFunction, /* out */ SIZE_T * pSize)
{
*pSize = 0;
return dac_cast<PTR_VOID>(pRuntimeFunction->UnwindData + moduleBase);
{
*pSize = 0;
return dac_cast<PTR_VOID>(pRuntimeFunction->UnwindData + moduleBase);