blob: 95be6bff60f6956fbf2ad677d419e4049d00df72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
#include "common.h"
#include "mda.h"
#include "mdaassistants.h"
#include "sstring.h"
#include "daccess.h"
#ifdef MDA_SUPPORTED
MdaStaticHeap g_mdaStaticHeap =
{
{ 0 }, // m_assistants[]
0, // m_pMda
{ 0 }, // m_mda[]
#define MDA_ASSISTANT_STATIC_INIT
#include "mdaschema.inl"
#undef MDA_ASSISTANT_STATIC_INIT
};
//
// MdaManagedDebuggingAssistants
//
void ManagedDebuggingAssistants::AllocateManagedDebuggingAssistants()
{
WRAPPER_NO_CONTRACT;
g_mdaStaticHeap.m_pMda = new (&g_mdaStaticHeap.m_mda) ManagedDebuggingAssistants();
}
ManagedDebuggingAssistants::ManagedDebuggingAssistants()
{
WRAPPER_NO_CONTRACT;
#ifndef DACCESS_COMPILE
Initialize();
#endif
}
#endif // MDA_SUPPORTED
|