ICorProfilerInfo4::GetFunctionFromIP2 Method
Maps a managed code instruction pointer to the JIT-recompiled version of a function.
Syntax
HRESULT GetFunctionFromIP2(
[in] LPCBYTE ip,
[out] FunctionID *pFunctionId,
[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
GetFunctionFromIP2
is similar to GetFunctionFromIP
, except that it gets the JIT-recompiled ID instead of the function ID of the function that contains the specified IP address.
Note
GetFunctionFromIP2
can trigger a garbage collection, whereas GetFunctionFromIP
will not. For more information, see CORPROF_E_UNSUPPORTED_CALL_SEQUENCE HRESULT.
Requirements
Platforms: See System Requirements.
Header: CorProf.idl, CorProf.h
Library: CorGuids.lib
.NET Framework Versions: Available since 4.5