#include "ildbsymlib.h"
#include "pedecoder.h"
+#include "stgpool.h"
//---------------------------------------------------------------------------------------
// Update an existing metadata importer with a buffer
#include "openum.h" // for CEE_*
#include <stdarg.h> // for vararg macros
+#include "mdfileformat.h"
+#include "stgpooli.h"
+
#endif
DECLARE_NATIVE_STRING_RESOURCE_TABLE(NATIVE_STRING_RESOURCE_NAME);
#endif
+#include "mdfileformat.h"
+
+
struct MIDescriptor
{
mdToken tkClass; // defining class token
#include "ildasmpch.h"
+#include "mdfileformat.h"
+
+
#include "../tools/metainfo/mdinfo.cpp"
#include "../tools/metainfo/mdobj.cpp"
#include <htmlhelp.h>
#include <conio.h>
+#ifndef Debug_ReportError
+#define Debug_ReportError(strMessage)
+#endif
+
#endif
#ifndef __MDFileFormat_h__
#define __MDFileFormat_h__
+#include <metamodelpub.h>
+#include "utilcode.h"
+
//*****************************************************************************
// The signature ULONG is the first 4 bytes of the file format. The second
// signature string starts the header containing the stream list. It is used
#ifndef _METADATA_H_
#define _METADATA_H_
-#include "../md/inc/metamodelro.h"
-#include "../md/inc/liteweightstgdb.h"
+#include "ex.h"
+class CorProfileData;
+class IMetaModelCommon;
+class MDInternalRW;
class UTSemReadWrite;
inline int IsGlobalMethodParentTk(mdTypeDef td)
#ifdef FEATURE_METADATA_CUSTOM_DATA_SOURCE
struct IMDCustomDataSource;
-
-#include "../md/inc/metamodel.h"
+class CMiniMdSchema;
+struct CMiniTableDef;
+namespace MetaData
+{
+ class DataBlob;
+}
// {CC0C8F7A-A00B-493D-80B6-CE0C92491670}
EXTERN_GUID(IID_IMDCustomDataSource, 0xcc0c8f7a, 0xa00b, 0x493d, 0x80, 0xb6, 0xce, 0xc, 0x92, 0x49, 0x16, 0x70);
HRESULT CreateRemoteMDInternalRWSource(TADDR mdInternalRWRemoteAddress, ICorDebugDataTarget* pDataTarget, DWORD defines, DWORD dataStructureVersion, IMDCustomDataSource** ppDataSource);
#endif
+enum MetaDataReorderingOptions {
+ NoReordering=0x0,
+ ReArrangeStringPool=0x1
+};
+
+#ifdef FEATURE_PREJIT
+
+// {0702E333-8D64-4ca7-B564-4AA56B1FCEA3}
+EXTERN_GUID(IID_IMetaDataCorProfileData, 0x702e333, 0x8d64, 0x4ca7, 0xb5, 0x64, 0x4a, 0xa5, 0x6b, 0x1f, 0xce, 0xa3 );
+
+#undef INTERFACE
+#define INTERFACE IMetaDataCorProfileData
+DECLARE_INTERFACE_(IMetaDataCorProfileData, IUnknown)
+{
+ STDMETHOD(SetCorProfileData)(
+ CorProfileData *pProfileData) PURE; // [IN] Pointer to profile data
+};
+
+// {2B464817-C0F6-454e-99E7-C352D8384D7B}
+EXTERN_GUID(IID_IMDInternalMetadataReorderingOptions, 0x2B464817, 0xC0F6, 0x454e, 0x99, 0xE7, 0xC3, 0x52, 0xD8, 0x38, 0x4D, 0x7B );
+
+#undef INTERFACE
+#define INTERFACE IMDInternalMetadataReorderingOptions
+DECLARE_INTERFACE_(IMDInternalMetadataReorderingOptions, IUnknown)
+{
+ STDMETHOD(SetMetaDataReorderingOptions)(
+ MetaDataReorderingOptions options) PURE; // [IN] metadata reordering options
+};
+
+#endif //FEATURE_PREJIT
+
#ifdef __HOLDER_H_
void DECLSPEC_NORETURN ThrowHR(HRESULT hr);
#endif
#include <cor.h>
-#include <stgpool.h>
+#include "contract.h"
+
#ifndef lengthof
# define lengthof(x) (sizeof(x)/sizeof((x)[0]))
#include "utilcode.h"
#include "sbuffer.h"
+#include "debugmacros.h"
// ==========================================================================================
// Documentational typedefs: use these to indicate specific representations of 8 bit strings:
#include "memoryrange.h"
#include "../md/hotdata/hotheap.h"
-#include "../md/debug_metadata.h"
-
//*****************************************************************************
// NOTE:
// One limitation with the pools, we have no way to removing strings from
#include <cor.h>
#include <corpriv.h>
+#include "../hotdata/hotheap.h"
+#include <metamodelro.h>
+#include <liteweightstgdb.h>
+
#include "nsutilpriv.h"
#include "utsem.h"
#include <cor.h>
#include <corpriv.h>
+#include <metamodelro.h>
+#include <liteweightstgdb.h>
+
#endif // __STDAFX_H_
set(MDRUNTIMERW_HEADERS
../../inc/corhdr.h
../../inc/metadata.h
+ ../../inc/mdfileformat.h
../../inc/pedecoder.h
../../inc/pedecoder.inl
../../inc/posterror.h
../compiler/regmeta.h
../hotdata/hotdataformat.h
../inc/liteweightstgdb.h
- ../inc/mdfileformat.h
../inc/mdinternalrw.h
../inc/mdlog.h
../inc/metadatahash.h
#include <cor.h>
#include <corpriv.h>
+#include "../hotdata/hotheap.h"
+#include <metamodelro.h>
+#include <liteweightstgdb.h>
+
+
#include "mdcommon.h"
#include "utsem.h"
#ifndef __LiteWeightStgdb_h__
#define __LiteWeightStgdb_h__
+#include "metadata.h"
#include "metamodelro.h"
#include "metamodelrw.h"
#include "../datablob.h"
#include "../debug_metadata.h"
-#undef __unaligned
-
#define ALLOCATED_MEMORY_MARKER 0xff
// Version numbers for metadata format.
class CorProfileData;
class UTSemReadWrite;
-enum MetaDataReorderingOptions {
- NoReordering=0x0,
- ReArrangeStringPool=0x1
-};
-
-#ifdef FEATURE_PREJIT
-
-// {0702E333-8D64-4ca7-B564-4AA56B1FCEA3}
-EXTERN_GUID(IID_IMetaDataCorProfileData, 0x702e333, 0x8d64, 0x4ca7, 0xb5, 0x64, 0x4a, 0xa5, 0x6b, 0x1f, 0xce, 0xa3 );
-
-#undef INTERFACE
-#define INTERFACE IMetaDataCorProfileData
-DECLARE_INTERFACE_(IMetaDataCorProfileData, IUnknown)
-{
- STDMETHOD(SetCorProfileData)(
- CorProfileData *pProfileData) PURE; // [IN] Pointer to profile data
-};
-
-// {2B464817-C0F6-454e-99E7-C352D8384D7B}
-EXTERN_GUID(IID_IMDInternalMetadataReorderingOptions, 0x2B464817, 0xC0F6, 0x454e, 0x99, 0xE7, 0xC3, 0x52, 0xD8, 0x38, 0x4D, 0x7B );
-
-#undef INTERFACE
-#define INTERFACE IMDInternalMetadataReorderingOptions
-DECLARE_INTERFACE_(IMDInternalMetadataReorderingOptions, IUnknown)
-{
- STDMETHOD(SetMetaDataReorderingOptions)(
- MetaDataReorderingOptions options) PURE; // [IN] metadata reordering options
-};
-
-#endif //FEATURE_PREJIT
-
template <class MiniMd> class CLiteWeightStgdb;
//*****************************************************************************
// Read/Write MiniMd.
../../inc/corhlpr.h
../../inc/corpriv.h
../../inc/mdcommon.h
+ ../../inc/mdfileformat.h
../../inc/metadatatracker.h
../../inc/pedecoder.h
../../inc/posterror.h
../inc/assemblymdinternaldisp.h
../inc/liteweightstgdb.h
../inc/mdcolumndescriptors.h
- ../inc/mdfileformat.h
../inc/metamodel.h
../inc/metamodelro.h
../inc/recordpool.h
#include <cor.h>
#include <corpriv.h>
+#include "../hotdata/hotheap.h"
+#include <metamodelro.h>
+#include <liteweightstgdb.h>
+
#include "mdcommon.h"
#endif // __STDAFX_H_
#include "utsem.h"
+#include <metamodelro.h>
+#include <liteweightstgdb.h>
+
#endif // __STDAFX_H_
#define USE_COM_CONTEXT_DEF
#include <common.h>
+
#include <debugger.h>
#include <methoditer.h>
#ifdef DACCESS_COMPILE
#include "cor.h"
#include "corinfo.h"
#include "volatile.h"
+#include "mdfileformat.h"
#ifndef DACCESS_COMPILE
UINT32 g_nClrInstanceId = 0;
#define _ASSEMBLYLOADCONTEXT_H
#include "crst.h"
+#include <sarray.h>
class NativeImage;
class Module;
#include "log.h"
#include "loaderheap.h"
#include "fixuppointer.h"
+#include "stgpool.h"
// src/vm
#include "gcenv.interlocked.h"