Muokkaa

Jaa


ICorProfilerInfo8::GetFunctionFromIP3 Method

Maps a managed code instruction pointer to a FunctionID. This method works for both dynamic and non-dynamic methods.

Syntax

HRESULT GetFunctionFromIP3([in] LPCBYTE ip,
                           [out] FunctionID *functionId,
                           [out] ReJITID * pReJitId);

Parameters

ip
[in] The instruction pointer in managed code.

pFunctionId
[out] The function ID.

pReJitId
[out] The identity of the JIT-recompiled version of the function.

Remarks

This method works for both dynamic and non-dynamic methods. It is a superset of GetFunctionFromIP2, which only works for functions with metadata.

Requirements

Platforms: See System Requirements.

Header: CorProf.idl, CorProf.h

Library: CorGuids.lib

.NET Framework Versions: Available since 4.7.2

See also