Share via


ICorDebugCode::GetILToNativeMapping Method

Gets an array of COR_DEBUG_IL_TO_NATIVE_MAP instances that represent mappings from Microsoft intermediate language (MSIL) offsets to native offsets.

HRESULT GetILToNativeMapping (
    [in]  ULONG32    cMap,
    [out] ULONG32    *pcMap,
    [out, size_is(cMap), length_is(*pcMap)]
        COR_DEBUG_IL_TO_NATIVE_MAP map[]
);

Parameters

  • cMap
    [in] The size of the map array.

  • pcMap
    [out] A pointer to the actual number of elements returned in the map array.

  • map
    [out] An array of COR_DEBUG_IL_TO_NATIVE_MAP stuctures, each of which represents a mapping from an MSIL offset to a native offset.

    There is no ordering to the array of elements returned.

Remarks

The GetILToNativeMapping method returns meaningful results only if this ICorDebugCode instance represents native code that was just-in-time (JIT) compiled from MSIL code.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugCode Interface