summaryrefslogtreecommitdiff
path: root/src/debug
diff options
context:
space:
mode:
authorEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-18 14:40:26 -0700
committerEugene Zemtsov <Eugene.Zemtsov@microsoft.com>2015-03-18 14:40:26 -0700
commitd5f60bdffa5507359af953bed646d47f89929c18 (patch)
tree8bab64ed6d0eebc23cf3179e3fc83b015f8ba623 /src/debug
parent65843fdba94820ce3566396ececdeb8ffd00f09c (diff)
downloadcoreclr-d5f60bdffa5507359af953bed646d47f89929c18.tar.gz
coreclr-d5f60bdffa5507359af953bed646d47f89929c18.tar.bz2
coreclr-d5f60bdffa5507359af953bed646d47f89929c18.zip
Implement runtime support for ICastable interface
The goal of this change is to facilitate an alternative (MCG based) way of doing COM interop, we're going to use it on Unix platforms. New ICastable interface allows objects to pretend at runtime that they support an interface and to provide an alternative type that is used to resolve actual calls to interface methods. BE VERY CAREFUL: This is a very dangerous feature, and at this stage it can easily lead to memory corruption without any native code involved. Reviewers: Yi Zhang, Noah Falk, Jan Kotas. DDR clean. [tfs-changeset: 1435198]
Diffstat (limited to 'src/debug')
-rw-r--r--src/debug/daccess/nidump.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/debug/daccess/nidump.cpp b/src/debug/daccess/nidump.cpp
index 3d60db3d57..470643d252 100644
--- a/src/debug/daccess/nidump.cpp
+++ b/src/debug/daccess/nidump.cpp
@@ -5669,7 +5669,7 @@ NativeImageDumper::EnumMnemonics s_MTFlagsLow[] =
#if defined(FEATURE_REMOTING)
MTFLAG_ENTRY(ContextStatic),
#endif
- MTFLAG_ENTRY(UNUSED_ComponentSize_2),
+ MTFLAG_ENTRY(HasRemotingVtsInfo),
MTFLAG_ENTRY(HasVariance),
MTFLAG_ENTRY(HasDefaultCtor),
MTFLAG_ENTRY(HasPreciseInitCctors),
@@ -5717,7 +5717,9 @@ NativeImageDumper::EnumMnemonics s_MTFlagsHigh[] =
#if defined(FEATURE_COMINTEROP)
MTFLAG_ENTRY(IfInterfaceThenHasGuidInfo),
#endif
- MTFLAG_ENTRY(HasRemotingVtsInfo),
+#if defined(FEATURE_ICASTABLE)
+ MTFLAG_ENTRY(ICastable),
+#endif
MTFLAG_ENTRY(HasIndirectParent),
MTFLAG_ENTRY(ContainsPointers),
MTFLAG_ENTRY(HasTypeEquivalence),