summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorSung Yoon Whang <suwhang@microsoft.com>2019-01-18 00:23:16 -0800
committerGitHub <noreply@github.com>2019-01-18 00:23:16 -0800
commit49aeb8588a07a6f3a6e73aa9225f019724d90290 (patch)
treee7555d0b1e5e16c97b31584b1469ca608cc2e5bf /src/inc
parent1e21dfc513b51b151d7c9b16f1e2a6a81c339d94 (diff)
downloadcoreclr-49aeb8588a07a6f3a6e73aa9225f019724d90290.tar.gz
coreclr-49aeb8588a07a6f3a6e73aa9225f019724d90290.tar.bz2
coreclr-49aeb8588a07a6f3a6e73aa9225f019724d90290.zip
Add comments on headers that gets parsed by Mono linker for whoever touches this next (#22054)
* Add comments on headers that gets parsed by Mono linker for whoever touches this next * add more comments to the targets file
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/cortypeinfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/inc/cortypeinfo.h b/src/inc/cortypeinfo.h
index 8fdfe43c5f..6cc7325768 100644
--- a/src/inc/cortypeinfo.h
+++ b/src/inc/cortypeinfo.h
@@ -4,6 +4,14 @@
// This describes information about the COM+ primitive types
+//
+// Note: This file gets parsed by the Mono IL Linker (https://github.com/mono/linker/) which may throw an exception during parsing.
+// Specifically, this (https://github.com/mono/linker/blob/master/corebuild/integration/ILLink.Tasks/CreateRuntimeRootDescriptorFile.cs) will try to
+// parse this header, and it may throw an exception while doing that. If you edit this file and get a build failure on msbuild.exe D:\repos\coreclr\build.proj
+// you might want to check out the parser linked above.
+//
+
+
#define NO_SIZE ((BYTE)-1)
// TYPEINFO(type (CorElementType), namespace, class, size, gcType, isArray,isPrim, isFloat,isModifier,isGenVariable)