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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
// 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.
#ifndef __GCENV_H__
#define __GCENV_H__
#if defined(_DEBUG)
#ifndef _DEBUG_IMPL
#define _DEBUG_IMPL 1
#endif
#define ASSERT(_expr) assert(_expr)
#else
#define ASSERT(_expr)
#endif
#ifndef _ASSERTE
#define _ASSERTE(_expr) ASSERT(_expr)
#endif
#include "gcenv.structs.h"
#include "gcenv.base.h"
#include "gcenv.os.h"
#include "gcenv.interlocked.h"
#include "gcenv.interlocked.inl"
#include "gcenv.object.h"
#include "gcenv.sync.h"
#include "gcinterface.h"
#include "gcenv.ee.h"
#include "volatile.h"
#define MAX_LONGPATH 1024
#ifdef _MSC_VER
#define SUPPRESS_WARNING_4127 \
__pragma(warning(push)) \
__pragma(warning(disable:4127)) /* conditional expression is constant*/
#define POP_WARNING_STATE \
__pragma(warning(pop))
#else // _MSC_VER
#define SUPPRESS_WARNING_4127
#define POP_WARNING_STATE
#endif // _MSC_VER
#define WHILE_0 \
SUPPRESS_WARNING_4127 \
while(0) \
POP_WARNING_STATE \
#define LL_INFO10 4
#define STRESS_LOG_VA(msg) do { } WHILE_0
#define STRESS_LOG0(facility, level, msg) do { } WHILE_0
#define STRESS_LOG1(facility, level, msg, data1) do { } WHILE_0
#define STRESS_LOG2(facility, level, msg, data1, data2) do { } WHILE_0
#define STRESS_LOG3(facility, level, msg, data1, data2, data3) do { } WHILE_0
#define STRESS_LOG4(facility, level, msg, data1, data2, data3, data4) do { } WHILE_0
#define STRESS_LOG5(facility, level, msg, data1, data2, data3, data4, data5) do { } WHILE_0
#define STRESS_LOG6(facility, level, msg, data1, data2, data3, data4, data5, data6) do { } WHILE_0
#define STRESS_LOG7(facility, level, msg, data1, data2, data3, data4, data5, data6, data7) do { } WHILE_0
#define STRESS_LOG_PLUG_MOVE(plug_start, plug_end, plug_delta) do { } WHILE_0
#define STRESS_LOG_ROOT_PROMOTE(root_addr, objPtr, methodTable) do { } WHILE_0
#define STRESS_LOG_ROOT_RELOCATE(root_addr, old_value, new_value, methodTable) do { } WHILE_0
#define STRESS_LOG_GC_START(gcCount, Gen, collectClasses) do { } WHILE_0
#define STRESS_LOG_GC_END(gcCount, Gen, collectClasses) do { } WHILE_0
#define STRESS_LOG_OOM_STACK(size) do { } while(0)
#define STRESS_LOG_RESERVE_MEM(numChunks) do {} while (0)
#define STRESS_LOG_GC_STACK
#define LOG(x)
#define SVAL_IMPL_INIT(type, cls, var, init) \
type cls::var = init
#include "etmdummy.h"
#define ETW_EVENT_ENABLED(e,f) false
#endif // __GCENV_H__
|