summaryrefslogtreecommitdiff
path: root/src/gc/gc.h
diff options
context:
space:
mode:
authorSean Gillespie <segilles@microsoft.com>2017-07-20 21:53:46 -0700
committerGitHub <noreply@github.com>2017-07-20 21:53:46 -0700
commit0372174871c1e27f483c9877c2c5181720be8722 (patch)
tree16cbb72c8c7b95c9fff92e4e1fec329ae431a2e2 /src/gc/gc.h
parentfa3d1cdd5583d5b278dd1a9c246ff30ca6966973 (diff)
downloadcoreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.gz
coreclr-0372174871c1e27f483c9877c2c5181720be8722.tar.bz2
coreclr-0372174871c1e27f483c9877c2c5181720be8722.zip
[Local GC] Refactor usage of GC-internal functions in the DAC (#12458)
* Refactor usage of GC-internal functions in the DAC * Fix one debugger test failure, one to go
Diffstat (limited to 'src/gc/gc.h')
-rw-r--r--src/gc/gc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gc/gc.h b/src/gc/gc.h
index 52252b8be3..4e722c4304 100644
--- a/src/gc/gc.h
+++ b/src/gc/gc.h
@@ -249,11 +249,13 @@ void TouchPages(void * pStart, size_t cb);
void updateGCShadow(Object** ptr, Object* val);
#endif
+#ifndef DACCESS_COMPILE
// The single GC heap instance, shared with the VM.
extern IGCHeapInternal* g_theGCHeap;
// The single GC handle manager instance, shared with the VM.
extern IGCHandleManager* g_theGCHandleManager;
+#endif // DACCESS_COMPILE
#ifndef DACCESS_COMPILE
inline bool IsGCInProgress(bool bConsiderGCStart = false)