DWORD relOffsetOverride = NO_OVERRIDE_OFFSET) = 0;
#endif // !CROSSGEN_COMPILE
+#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE)
/*
Return the address of the local security object reference
(if available).
*/
virtual OBJECTREF* GetAddrOfSecurityObject(CrawlFrame *pCF) = 0;
+#endif // !DACCESS_COMPILE && !CROSSGEN_COMPILE
#ifndef CROSSGEN_COMPILE
/*
StackwalkCacheUnwindInfo * stackwalkCacheUnwindInfo);
#endif // _TARGET_X86_
+#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE)
virtual
OBJECTREF* GetAddrOfSecurityObject(CrawlFrame *pCF) DAC_UNEXPECTED();
+#endif // !DACCESS_COMPILE && !CROSSGEN_COMPILE
#ifndef CROSSGEN_COMPILE
virtual
}
#endif // _TARGET_X86_
-#ifndef DACCESS_COMPILE
+#if !defined(DACCESS_COMPILE) && !defined(CROSSGEN_COMPILE)
OBJECTREF* EECodeManager::GetAddrOfSecurityObject(CrawlFrame *pCF)
{
CONTRACTL {
_ASSERTE(sizeof(CodeManStateBuf) <= sizeof(pState->stateBuf));
-#if defined(_TARGET_X86_)
+#ifndef USE_GC_INFO_DECODER
CodeManStateBuf * stateBuf = (CodeManStateBuf*)pState->stateBuf;
/* Extract the necessary information from the info block header */
return (OBJECTREF *)(size_t)(*pRD->GetEbpLocation() - GetSecurityObjectOffset(&stateBuf->hdrInfoBody));
}
}
-#elif defined(USE_GC_INFO_DECODER) && !defined(CROSSGEN_COMPILE)
+#else // !USE_GC_INFO_DECODER
GcInfoDecoder gcInfoDecoder(
gcInfoToken,
OBJECTREF* pSlot = (OBJECTREF*) (spOffset + uCallerSP);
return pSlot;
}
-#else // !_TARGET_X86_ && !(USE_GC_INFO_DECODER && !CROSSGEN_COMPILE)
- PORTABILITY_ASSERT("EECodeManager::GetAddrOfSecurityObject is not implemented on this platform.");
-#endif
+#endif // USE_GC_INFO_DECODER
return NULL;
}
-#endif
+#endif // !DACCESS_COMPILE && !CROSSGEN_COMPILE
#ifndef CROSSGEN_COMPILE
/*****************************************************************************
BOOL IsInCalleesFrames(LPVOID stackPointer);
+#ifndef DACCESS_COMPILE
/* Returns address of the securityobject stored in the current function (method?)
Returns NULL if
- not a function OR
(which is an error)
*/
OBJECTREF * GetAddrOfSecurityObject();
+#endif // DACCESS_COMPILE
// Fetch the extra type argument passed in some cases
PTR_VOID GetParamTypeArg();