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 | |
21 | LWM(AddressMap, DWORDLONG, CompileResult::Agnostic_AddressMap) |
22 | LWM(AllocBBProfileBuffer, DWORD, CompileResult::Agnostic_AllocBBProfileBuffer) |
23 | LWM(AllocGCInfo, DWORD, CompileResult::Agnostic_AllocGCInfo) |
24 | LWM(AllocMem, DWORD, CompileResult::Agnostic_AllocMemDetails) |
25 | DENSELWM(AllocUnwindInfo, CompileResult::Agnostic_AllocUnwindInfo) |
26 | DENSELWM(AssertLog, DWORD) |
27 | DENSELWM(CallLog, DWORD) |
28 | DENSELWM(ClassMustBeLoadedBeforeCodeIsRun, DWORDLONG) |
29 | LWM(CompileMethod, DWORD, CompileResult::Agnostic_CompileMethodResults) |
30 | DENSELWM(MessageLog, DWORD) |
31 | DENSELWM(MethodMustBeLoadedBeforeCodeIsRun, DWORDLONG) |
32 | DENSELWM(ProcessName, DWORD) |
33 | LWM(RecordCallSite, DWORD, CompileResult::Agnostic_RecordCallSite) |
34 | DENSELWM(RecordRelocation, CompileResult::Agnostic_RecordRelocation) |
35 | DENSELWM(ReportFatalError, DWORD) |
36 | DENSELWM(ReportInliningDecision, CompileResult::Agnostic_ReportInliningDecision) |
37 | DENSELWM(ReportTailCallDecision, CompileResult::Agnostic_ReportTailCallDecision) |
38 | DENSELWM(ReserveUnwindInfo, CompileResult::Agnostic_ReserveUnwindInfo) |
39 | LWM(SetBoundaries, DWORD, CompileResult::Agnostic_SetBoundaries) |
40 | LWM(SetEHcount, DWORD, DWORD) |
41 | LWM(SetEHinfo, DWORD, CompileResult::Agnostic_CORINFO_EH_CLAUSE2) |
42 | LWM(SetMethodAttribs, DWORDLONG, DWORD) |
43 | LWM(SetVars, DWORD, CompileResult::Agnostic_SetVars) |
44 | |
45 | #undef LWM |
46 | #undef DENSELWM |
47 | |