summaryrefslogtreecommitdiff
path: root/src/gc
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2019-06-12 16:32:53 +0200
committerJan Kotas <jkotas@microsoft.com>2019-06-12 07:32:53 -0700
commit21c4d9d55c383b92eba5fedc5a91a2821666c067 (patch)
tree9694207cf47ea1f604f2c719d964e3daee6f1ebd /src/gc
parent182b63d94e95aee139bd4f8b107b314b860cdedd (diff)
downloadcoreclr-21c4d9d55c383b92eba5fedc5a91a2821666c067.tar.gz
coreclr-21c4d9d55c383b92eba5fedc5a91a2821666c067.tar.bz2
coreclr-21c4d9d55c383b92eba5fedc5a91a2821666c067.zip
Expose readonly heap segments to DAC (#25113)
This was in CoreRT's copy of gcinterface.dac.h, but got lost in dotnet/corert#7517.
Diffstat (limited to 'src/gc')
-rw-r--r--src/gc/gcinterface.dac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gc/gcinterface.dac.h b/src/gc/gcinterface.dac.h
index 44bf00d316..b354086872 100644
--- a/src/gc/gcinterface.dac.h
+++ b/src/gc/gcinterface.dac.h
@@ -11,6 +11,7 @@
// GC-internal type's fields, while still maintaining the same layout.
// This interface is strictly versioned, see gcinterface.dacvars.def for more information.
+#define HEAP_SEGMENT_FLAGS_READONLY 1
#define NUM_GC_DATA_POINTS 9
#define MAX_COMPACT_REASONS_COUNT 11
#define MAX_EXPAND_MECHANISMS_COUNT 6