1//
2// Copyright (c) Microsoft. All rights reserved.
3// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4//
5
6//----------------------------------------------------------
7// crlwmlist.h - List of all LightWeightMap in CompileResult.
8// To use, #define LWM(map, key, value) to something.
9// If you need to distinguish DenseLightWeightMap, #define DENSELWM(map, value) as well.
10//----------------------------------------------------------
11
12#ifndef LWM
13#error Define LWM before including this file.
14#endif
15
16// If the key is needed, then DENSELWM must be defined.
17#ifndef DENSELWM
18#define DENSELWM(map, value) LWM(map, this_is_an_error, value)
19#endif
20
21LWM(AddressMap, DWORDLONG, CompileResult::Agnostic_AddressMap)
22LWM(AllocBBProfileBuffer, DWORD, CompileResult::Agnostic_AllocBBProfileBuffer)
23LWM(AllocGCInfo, DWORD, CompileResult::Agnostic_AllocGCInfo)
24LWM(AllocMem, DWORD, CompileResult::Agnostic_AllocMemDetails)
25DENSELWM(AllocUnwindInfo, CompileResult::Agnostic_AllocUnwindInfo)
26DENSELWM(AssertLog, DWORD)
27DENSELWM(CallLog, DWORD)
28DENSELWM(ClassMustBeLoadedBeforeCodeIsRun, DWORDLONG)
29LWM(CompileMethod, DWORD, CompileResult::Agnostic_CompileMethodResults)
30DENSELWM(MessageLog, DWORD)
31DENSELWM(MethodMustBeLoadedBeforeCodeIsRun, DWORDLONG)
32DENSELWM(ProcessName, DWORD)
33LWM(RecordCallSite, DWORD, CompileResult::Agnostic_RecordCallSite)
34DENSELWM(RecordRelocation, CompileResult::Agnostic_RecordRelocation)
35DENSELWM(ReportFatalError, DWORD)
36DENSELWM(ReportInliningDecision, CompileResult::Agnostic_ReportInliningDecision)
37DENSELWM(ReportTailCallDecision, CompileResult::Agnostic_ReportTailCallDecision)
38DENSELWM(ReserveUnwindInfo, CompileResult::Agnostic_ReserveUnwindInfo)
39LWM(SetBoundaries, DWORD, CompileResult::Agnostic_SetBoundaries)
40LWM(SetEHcount, DWORD, DWORD)
41LWM(SetEHinfo, DWORD, CompileResult::Agnostic_CORINFO_EH_CLAUSE2)
42LWM(SetMethodAttribs, DWORDLONG, DWORD)
43LWM(SetVars, DWORD, CompileResult::Agnostic_SetVars)
44
45#undef LWM
46#undef DENSELWM
47