Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 0 additions & 59 deletions src/coreclr/debug/daccess/dacdbiimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3905,18 +3905,6 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::IsRcw(VMPTR_Object vmObject, OUT
#endif // FEATURE_COMINTEROP
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetRcwCachedInterfaceTypes(VMPTR_Object vmObject, VMPTR_AppDomain vmAppDomain, BOOL bIInspectableOnly, OUT DacDbiArrayList<DebuggerIPCE_ExpandedTypeData> * pDacInterfaces)
{
HRESULT hr = S_OK;
EX_TRY
{
// Legacy WinRT API.
pDacInterfaces->Alloc(0);
}
EX_CATCH_HRESULT(hr);
return hr;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetRcwCachedInterfacePointers(VMPTR_Object vmObject, BOOL bIInspectableOnly, OUT DacDbiArrayList<CORDB_ADDRESS> * pDacItfPtrs)
{
#ifdef FEATURE_COMINTEROP
Expand Down Expand Up @@ -6214,25 +6202,6 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetObject(CORDB_ADDRESS ptr, OUT
return hr;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::EnableNGENPolicy(CorDebugNGENPolicy ePolicy)
{
return E_NOTIMPL;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::SetNGENCompilerFlags(DWORD dwFlags)
{
DD_ENTER_MAY_THROW;

return CORDBG_E_NGEN_NOT_SUPPORTED;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetNGENCompilerFlags(DWORD *pdwFlags)
{
DD_ENTER_MAY_THROW;

return CORDBG_E_NGEN_NOT_SUPPORTED;
}

typedef DPTR(OBJECTREF) PTR_ObjectRef;

// Create a VMPTR_Object from an address which points to a reference to an object
Expand Down Expand Up @@ -7895,13 +7864,6 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetPEFileMDInternalRW(VMPTR_PEAss
return S_OK;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetReJitInfo(VMPTR_Module vmModule, mdMethodDef methodTk, OUT VMPTR_ReJitInfo* pvmReJitInfo)
{
DD_ENTER_MAY_THROW;
_ASSERTE(!"You shouldn't be calling this - use GetActiveRejitILCodeVersionNode instead");
return S_OK;
}

#ifdef FEATURE_CODE_VERSIONING
HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetActiveRejitILCodeVersionNode(VMPTR_Module vmModule, mdMethodDef methodTk, OUT VMPTR_ILCodeVersionNode* pVmILCodeVersionNode)
{
Expand Down Expand Up @@ -7999,13 +7961,6 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetILCodeVersionNodeData(VMPTR_IL
}
#endif // FEATURE_CODE_VERSIONING

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetReJitInfoByAddress(VMPTR_MethodDesc vmMethod, CORDB_ADDRESS codeStartAddress, OUT VMPTR_ReJitInfo* pvmReJitInfo)
{
DD_ENTER_MAY_THROW;
_ASSERTE(!"You shouldn't be calling this - use GetNativeCodeVersionNode instead");
return S_OK;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::AreOptimizationsDisabled(VMPTR_Module vmModule, mdMethodDef methodTk, OUT BOOL* pOptimizationsDisabled)
{
DD_ENTER_MAY_THROW;
Expand All @@ -8027,20 +7982,6 @@ HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::AreOptimizationsDisabled(VMPTR_Mo
return S_OK;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetSharedReJitInfo(VMPTR_ReJitInfo vmReJitInfo, OUT VMPTR_SharedReJitInfo* pvmSharedReJitInfo)
{
DD_ENTER_MAY_THROW;
_ASSERTE(!"You shouldn't be calling this - use GetILCodeVersionNode instead");
return S_OK;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetSharedReJitInfoData(VMPTR_SharedReJitInfo vmSharedReJitInfo, DacSharedReJitInfo* pData)
{
DD_ENTER_MAY_THROW;
_ASSERTE(!"You shouldn't be calling this - use GetILCodeVersionNodeData instead");
return S_OK;
}

HRESULT STDMETHODCALLTYPE DacDbiInterfaceImpl::GetDefinesBitField(ULONG32 *pDefines)
{
DD_ENTER_MAY_THROW;
Expand Down
19 changes: 0 additions & 19 deletions src/coreclr/debug/daccess/dacdbiimpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -148,17 +148,13 @@ class DacDbiInterfaceImpl :
HRESULT STDMETHODCALLTYPE GetArrayLayout(COR_TYPEID id, COR_ARRAY_LAYOUT *pLayout);
HRESULT STDMETHODCALLTYPE GetGCHeapInformation(OUT COR_HEAPINFO * pHeapInfo);
HRESULT STDMETHODCALLTYPE GetPEFileMDInternalRW(VMPTR_PEAssembly vmPEAssembly, OUT TADDR* pAddrMDInternalRW);
HRESULT STDMETHODCALLTYPE GetReJitInfo(VMPTR_Module vmModule, mdMethodDef methodTk, OUT VMPTR_ReJitInfo* pReJitInfo);
#ifdef FEATURE_CODE_VERSIONING
HRESULT STDMETHODCALLTYPE GetActiveRejitILCodeVersionNode(VMPTR_Module vmModule, mdMethodDef methodTk, OUT VMPTR_ILCodeVersionNode* pVmILCodeVersionNode);
HRESULT STDMETHODCALLTYPE GetNativeCodeVersionNode(VMPTR_MethodDesc vmMethod, CORDB_ADDRESS codeStartAddress, OUT VMPTR_NativeCodeVersionNode* pVmNativeCodeVersionNode);
HRESULT STDMETHODCALLTYPE GetILCodeVersionNode(VMPTR_NativeCodeVersionNode vmNativeCodeVersionNode, VMPTR_ILCodeVersionNode* pVmILCodeVersionNode);
HRESULT STDMETHODCALLTYPE GetILCodeVersionNodeData(VMPTR_ILCodeVersionNode vmILCodeVersionNode, DacSharedReJitInfo* pData);
#endif // FEATURE_CODE_VERSIONING
HRESULT STDMETHODCALLTYPE GetReJitInfoByAddress(VMPTR_MethodDesc vmMethod, CORDB_ADDRESS codeStartAddress, OUT VMPTR_ReJitInfo* pReJitInfo);
HRESULT STDMETHODCALLTYPE AreOptimizationsDisabled(VMPTR_Module vmModule, mdMethodDef methodTk, OUT BOOL* pOptimizationsDisabled);
HRESULT STDMETHODCALLTYPE GetSharedReJitInfo(VMPTR_ReJitInfo vmReJitInfo, VMPTR_SharedReJitInfo* pSharedReJitInfo);
HRESULT STDMETHODCALLTYPE GetSharedReJitInfoData(VMPTR_SharedReJitInfo sharedReJitInfo, DacSharedReJitInfo* pData);
HRESULT STDMETHODCALLTYPE GetDefinesBitField(ULONG32 *pDefines);
HRESULT STDMETHODCALLTYPE GetMDStructuresVersion(ULONG32* pMDStructuresVersion);
HRESULT STDMETHODCALLTYPE EnableGCNotificationEvents(BOOL fEnable);
Expand Down Expand Up @@ -333,11 +329,6 @@ class DacDbiInterfaceImpl :

HRESULT STDMETHODCALLTYPE MetadataUpdatesApplied(OUT BOOL * pResult);

// retrieves the list of COM interfaces implemented by vmObject, as it is known at
// the time of the call (the list may change as new interface types become available
// in the runtime)
HRESULT STDMETHODCALLTYPE GetRcwCachedInterfaceTypes(VMPTR_Object vmObject, VMPTR_AppDomain vmAppDomain, BOOL bIInspectableOnly, OUT DacDbiArrayList<DebuggerIPCE_ExpandedTypeData> * pDacInterfaces);

// retrieves the list of interfaces pointers implemented by vmObject, as it is known at
// the time of the call (the list may change as new interface types become available
// in the runtime)
Expand Down Expand Up @@ -901,16 +892,6 @@ class DacDbiInterfaceImpl :
// Creates a VMPTR of an Object from a target address
HRESULT STDMETHODCALLTYPE GetObject(CORDB_ADDRESS ptr, OUT VMPTR_Object * pRetVal);

// sets state in the native binder
HRESULT STDMETHODCALLTYPE EnableNGENPolicy(CorDebugNGENPolicy ePolicy);

// Sets the NGEN compiler flags. This restricts NGEN to only use images with certain
// types of pregenerated code.
HRESULT STDMETHODCALLTYPE SetNGENCompilerFlags(DWORD dwFlags);

// Gets the NGEN compiler flags currently in effect.
HRESULT STDMETHODCALLTYPE GetNGENCompilerFlags(DWORD *pdwFlags);

// Creates a VMPTR of an Object from a target address pointing to an OBJECTREF
HRESULT STDMETHODCALLTYPE GetObjectFromRefPtr(CORDB_ADDRESS ptr, OUT VMPTR_Object * pRetVal);

Expand Down
32 changes: 1 addition & 31 deletions src/coreclr/debug/di/divalue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2785,37 +2785,7 @@ HRESULT CordbObjectValue::GetCachedInterfaceTypes(
EX_TRY
{
*ppInterfacesEnum = NULL;

NewArrayHolder<CordbType*> pItfs(NULL);

// retrieve interface types
DacDbiArrayList<DebuggerIPCE_ExpandedTypeData> dacInterfaces;

IDacDbiInterface* pDAC = GetProcess()->GetDAC();

CORDB_ADDRESS objAddr = m_valueHome.GetAddress();
VMPTR_Object vmObj;
IfFailThrow(pDAC->GetObject(objAddr, &vmObj));

// retrieve type info from LS
IfFailThrow(pDAC->GetRcwCachedInterfaceTypes(vmObj, m_appdomain->GetADToken(),
bIInspectableOnly, &dacInterfaces));

// synthesize CordbType instances
int cItfs = dacInterfaces.Count();
if (cItfs > 0)
{
pItfs = new CordbType*[cItfs];
for (int n = 0; n < cItfs; ++n)
{
hr = CordbType::TypeDataToType(m_appdomain,
&(dacInterfaces[n]),
&pItfs[n]);
}
}

// build a type enumerator
CordbTypeEnum* pTypeEnum = CordbTypeEnum::Build(m_appdomain, GetProcess()->GetContinueNeuterList(), cItfs, pItfs);
CordbTypeEnum* pTypeEnum = CordbTypeEnum::Build(m_appdomain, GetProcess()->GetContinueNeuterList(), 0, (CordbType**)nullptr);
if ( pTypeEnum == NULL )
{
IfFailThrow(E_OUTOFMEMORY);
Expand Down
11 changes: 1 addition & 10 deletions src/coreclr/debug/di/process.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15357,16 +15357,7 @@ HRESULT CordbProcess::GetDesiredNGENCompilerFlags(DWORD *pdwFlags )
FAIL_IF_NEUTERED(this);
VALIDATE_POINTER_TO_OBJECT(pdwFlags, DWORD*);
*pdwFlags = 0;

CordbProcess *pProcess = GetProcess();
ATT_REQUIRE_STOPPED_MAY_FAIL(pProcess);
HRESULT hr = S_OK;
EX_TRY
{
hr = pProcess->GetDAC()->GetNGENCompilerFlags(pdwFlags);
}
EX_CATCH_HRESULT(hr);
return hr;
return CORDBG_E_NGEN_NOT_SUPPORTED;
}

//-----------------------------------------------------------------------------
Expand Down
19 changes: 0 additions & 19 deletions src/coreclr/debug/inc/dacdbiinterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -1847,11 +1847,6 @@ IDacDbiInterface : public IUnknown
// Check whether the argument is a runtime callable wrapper.
virtual HRESULT STDMETHODCALLTYPE IsRcw(VMPTR_Object vmObject, OUT BOOL * pResult) = 0;

// retrieves the list of COM interfaces implemented by vmObject, as it is known at
// the time of the call (the list may change as new interface types become available
// in the runtime)
virtual HRESULT STDMETHODCALLTYPE GetRcwCachedInterfaceTypes(VMPTR_Object vmObject, VMPTR_AppDomain vmAppDomain, BOOL bIInspectableOnly, OUT DacDbiArrayList<DebuggerIPCE_ExpandedTypeData> * pDacInterfaces) = 0;

// retrieves the list of interfaces pointers implemented by vmObject, as it is known at
// the time of the call (the list may change as new interface types become available
// in the runtime)
Expand Down Expand Up @@ -1995,8 +1990,6 @@ IDacDbiInterface : public IUnknown
// Return Value:
// S_OK on success; otherwise, an appropriate failure HRESULT.
//
virtual HRESULT STDMETHODCALLTYPE EnableNGENPolicy(CorDebugNGENPolicy ePolicy) = 0;

// Sets the NGEN compiler flags. This restricts NGEN to only use images with certain
// types of pregenerated code. With respect to debugging this is used to specify that
// the NGEN image must be debuggable aka non-optimized code. Note that these flags
Expand All @@ -2019,8 +2012,6 @@ IDacDbiInterface : public IUnknown
// Return Value:
// S_OK on success; otherwise, an appropriate failure HRESULT.
//
virtual HRESULT STDMETHODCALLTYPE SetNGENCompilerFlags(DWORD dwFlags) = 0;

// Gets the NGEN compiler flags currently in effect. This accounts for settings that
// were caused by SetDesiredNGENCompilerFlags as well as other configuration sources.
// See SetDesiredNGENCompilerFlags for more info
Expand All @@ -2031,8 +2022,6 @@ IDacDbiInterface : public IUnknown
// Return Value:
// S_OK on success; otherwise, an appropriate failure HRESULT.
//
virtual HRESULT STDMETHODCALLTYPE GetNGENCompilerFlags(DWORD *pdwFlags) = 0;

// Create a VMPTR_OBJECTHANDLE from a CORDB_ADDRESS pointing to an object handle
//
// Arguments:
Expand Down Expand Up @@ -2276,8 +2265,6 @@ IDacDbiInterface : public IUnknown
// S_OK regardless of whether a rejit request is active or not, as long as the answer is certain
// error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
//
virtual HRESULT STDMETHODCALLTYPE GetReJitInfo(VMPTR_Module vmModule, mdMethodDef methodTk, OUT VMPTR_ReJitInfo* pReJitInfo) = 0;

// DEPRECATED - use GetNativeCodeVersionNode
// Retrieves the ReJitInfo for a given MethodDesc/code address, if it exists.
//
Expand All @@ -2293,8 +2280,6 @@ IDacDbiInterface : public IUnknown
// S_OK regardless of whether a rejit request is active or not, as long as the answer is certain
// error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
//
virtual HRESULT STDMETHODCALLTYPE GetReJitInfoByAddress(VMPTR_MethodDesc vmMethod, CORDB_ADDRESS codeStartAddress, OUT VMPTR_ReJitInfo* pReJitInfo) = 0;

// DEPRECATED - use GetILCodeVersion
// Retrieves the SharedReJitInfo for a given ReJitInfo.
//
Expand All @@ -2307,8 +2292,6 @@ IDacDbiInterface : public IUnknown
// S_OK if no error
// error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
//
virtual HRESULT STDMETHODCALLTYPE GetSharedReJitInfo(VMPTR_ReJitInfo vmReJitInfo, VMPTR_SharedReJitInfo* pSharedReJitInfo) = 0;

// DEPRECATED - use GetILCodeVersionData
// Retrieves useful data from a SharedReJitInfo such as IL code and IL mapping.
//
Expand All @@ -2321,8 +2304,6 @@ IDacDbiInterface : public IUnknown
// S_OK if no error
// error HRESULTs such as CORDBG_READ_VIRTUAL_FAILURE are possible
//
virtual HRESULT STDMETHODCALLTYPE GetSharedReJitInfoData(VMPTR_SharedReJitInfo sharedReJitInfo, DacSharedReJitInfo* pData) = 0;

// Retrieves a bool indicating whether or not a method's optimizations have been disabled
// defined in Debugger::IsMethodDeoptimized
//
Expand Down
13 changes: 0 additions & 13 deletions src/coreclr/inc/dacdbi.idl
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,6 @@ interface IDacDbiInterface : IUnknown
HRESULT IsExceptionObject([in] VMPTR_Object vmObject, [out] BOOL * pResult);
HRESULT GetStackFramesFromException([in] VMPTR_Object vmObject, [out] DacDbiArrayList_DacExceptionCallStackData * pDacStackFrames);
HRESULT IsRcw([in] VMPTR_Object vmObject, [out] BOOL * pResult);
HRESULT GetRcwCachedInterfaceTypes([in] VMPTR_Object vmObject, [in] VMPTR_AppDomain vmAppDomain, [in] BOOL bIInspectableOnly, [out] DacDbiArrayList_ExpandedTypeData * pDacInterfaces);
HRESULT GetRcwCachedInterfacePointers([in] VMPTR_Object vmObject, [in] BOOL bIInspectableOnly, [out] DacDbiArrayList_CORDB_ADDRESS * pDacItfPtrs);
HRESULT GetCachedWinRTTypesForIIDs([in] VMPTR_AppDomain vmAppDomain, [in] DacDbiArrayList_GUID * pIids, [out] DacDbiArrayList_ExpandedTypeData * pTypes);
HRESULT GetCachedWinRTTypes([in] VMPTR_AppDomain vmAppDomain, [out] DacDbiArrayList_GUID * piids, [out] DacDbiArrayList_ExpandedTypeData * pTypes);
Expand All @@ -372,11 +371,6 @@ interface IDacDbiInterface : IUnknown
HRESULT GetObjectFromRefPtr([in] CORDB_ADDRESS ptr, [out] VMPTR_Object * pRetVal);
HRESULT GetObject([in] CORDB_ADDRESS ptr, [out] VMPTR_Object * pRetVal);

// NGEN
HRESULT EnableNGENPolicy([in] CorDebugNGENPolicy ePolicy);
HRESULT SetNGENCompilerFlags([in] DWORD dwFlags);
HRESULT GetNGENCompilerFlags([out] DWORD * pdwFlags);

// VM Object Handle
HRESULT GetVmObjectHandle([in] CORDB_ADDRESS handleAddress, [out] VMPTR_OBJECTHANDLE * pRetVal);
HRESULT IsVmObjectHandleValid([in] VMPTR_OBJECTHANDLE vmHandle, [out] BOOL * pResult);
Expand Down Expand Up @@ -433,13 +427,6 @@ interface IDacDbiInterface : IUnknown
// PE File
HRESULT GetPEFileMDInternalRW([in] VMPTR_PEAssembly vmPEAssembly, [out] TADDR * pAddrMDInternalRW);

// ReJit
HRESULT GetReJitInfo([in] VMPTR_Module vmModule, [in] mdMethodDef methodTk, [out] VMPTR_ReJitInfo * pReJitInfo);
// Note: Named GetReJitInfoByAddress in IDL because COM does not support overloads.
// Corresponds to the second GetReJitInfo overload in dacdbiinterface.h.
HRESULT GetReJitInfoByAddress([in] VMPTR_MethodDesc vmMethod, [in] CORDB_ADDRESS codeStartAddress, [out] VMPTR_ReJitInfo * pReJitInfo);
HRESULT GetSharedReJitInfo([in] VMPTR_ReJitInfo vmReJitInfo, [out] VMPTR_SharedReJitInfo * pSharedReJitInfo);
HRESULT GetSharedReJitInfoData([in] VMPTR_SharedReJitInfo sharedReJitInfo, [out] struct DacSharedReJitInfo * pData);
HRESULT AreOptimizationsDisabled([in] VMPTR_Module vmModule, [in] mdMethodDef methodTk, [out] BOOL * pOptimizationsDisabled);

// Defines
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -824,9 +824,6 @@ public int GetStackFramesFromException(ulong vmObject, nint pDacStackFrames)
public int IsRcw(ulong vmObject, Interop.BOOL* pResult)
=> _legacy is not null ? _legacy.IsRcw(vmObject, pResult) : HResults.E_NOTIMPL;

public int GetRcwCachedInterfaceTypes(ulong vmObject, ulong vmAppDomain, Interop.BOOL bIInspectableOnly, nint pDacInterfaces)
=> _legacy is not null ? _legacy.GetRcwCachedInterfaceTypes(vmObject, vmAppDomain, bIInspectableOnly, pDacInterfaces) : HResults.E_NOTIMPL;

public int GetRcwCachedInterfacePointers(ulong vmObject, Interop.BOOL bIInspectableOnly, nint pDacItfPtrs)
=> _legacy is not null ? _legacy.GetRcwCachedInterfacePointers(vmObject, bIInspectableOnly, pDacItfPtrs) : HResults.E_NOTIMPL;

Expand Down Expand Up @@ -900,15 +897,6 @@ public int GetObject(ulong ptr, ulong* pRetVal)
return hr;
}

public int EnableNGENPolicy(int ePolicy)
=> HResults.E_NOTIMPL;

public int SetNGENCompilerFlags(uint dwFlags)
=> _legacy is not null ? _legacy.SetNGENCompilerFlags(dwFlags) : HResults.E_NOTIMPL;

public int GetNGENCompilerFlags(uint* pdwFlags)
=> _legacy is not null ? _legacy.GetNGENCompilerFlags(pdwFlags) : HResults.E_NOTIMPL;

public int GetVmObjectHandle(ulong handleAddress, ulong* pRetVal)
{
*pRetVal = handleAddress;
Expand Down Expand Up @@ -1217,18 +1205,6 @@ public int GetGCHeapInformation(COR_HEAPINFO* pHeapInfo)
public int GetPEFileMDInternalRW(ulong vmPEAssembly, ulong* pAddrMDInternalRW)
=> _legacy is not null ? _legacy.GetPEFileMDInternalRW(vmPEAssembly, pAddrMDInternalRW) : HResults.E_NOTIMPL;

public int GetReJitInfo(ulong vmModule, uint methodTk, ulong* pReJitInfo)
=> _legacy is not null ? _legacy.GetReJitInfo(vmModule, methodTk, pReJitInfo) : HResults.E_NOTIMPL;

public int GetReJitInfoByAddress(ulong vmMethod, ulong codeStartAddress, ulong* pReJitInfo)
=> _legacy is not null ? _legacy.GetReJitInfoByAddress(vmMethod, codeStartAddress, pReJitInfo) : HResults.E_NOTIMPL;

public int GetSharedReJitInfo(ulong vmReJitInfo, ulong* pSharedReJitInfo)
=> _legacy is not null ? _legacy.GetSharedReJitInfo(vmReJitInfo, pSharedReJitInfo) : HResults.E_NOTIMPL;

public int GetSharedReJitInfoData(ulong sharedReJitInfo, DacDbiSharedReJitInfo* pData)
=> _legacy is not null ? _legacy.GetSharedReJitInfoData(sharedReJitInfo, pData) : HResults.E_NOTIMPL;

public int AreOptimizationsDisabled(ulong vmModule, uint methodTk, Interop.BOOL* pOptimizationsDisabled)
=> _legacy is not null ? _legacy.AreOptimizationsDisabled(vmModule, methodTk, pOptimizationsDisabled) : HResults.E_NOTIMPL;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,9 +420,6 @@ public unsafe partial interface IDacDbiInterface
[PreserveSig]
int IsRcw(ulong vmObject, Interop.BOOL* pResult);

[PreserveSig]
int GetRcwCachedInterfaceTypes(ulong vmObject, ulong vmAppDomain, Interop.BOOL bIInspectableOnly, nint pDacInterfaces);

[PreserveSig]
int GetRcwCachedInterfacePointers(ulong vmObject, Interop.BOOL bIInspectableOnly, nint pDacItfPtrs);

Expand Down Expand Up @@ -459,15 +456,6 @@ public unsafe partial interface IDacDbiInterface
[PreserveSig]
int GetObject(ulong ptr, ulong* pRetVal);

[PreserveSig]
int EnableNGENPolicy(int ePolicy);

[PreserveSig]
int SetNGENCompilerFlags(uint dwFlags);

[PreserveSig]
int GetNGENCompilerFlags(uint* pdwFlags);

[PreserveSig]
int GetVmObjectHandle(ulong handleAddress, ulong* pRetVal);

Expand Down Expand Up @@ -552,19 +540,6 @@ public unsafe partial interface IDacDbiInterface
[PreserveSig]
int GetPEFileMDInternalRW(ulong vmPEAssembly, ulong* pAddrMDInternalRW);

[PreserveSig]
int GetReJitInfo(ulong vmModule, uint methodTk, ulong* pReJitInfo);

[PreserveSig]
// DEPRECATED - use GetNativeCodeVersionNode
int GetReJitInfoByAddress(ulong vmMethod, ulong codeStartAddress, ulong* pReJitInfo);

[PreserveSig]
int GetSharedReJitInfo(ulong vmReJitInfo, ulong* pSharedReJitInfo);

[PreserveSig]
int GetSharedReJitInfoData(ulong sharedReJitInfo, DacDbiSharedReJitInfo* pData);

[PreserveSig]
int AreOptimizationsDisabled(ulong vmModule, uint methodTk, Interop.BOOL* pOptimizationsDisabled);

Expand Down
Loading
Loading