summaryrefslogtreecommitdiff
path: root/src/debug/ee
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2016-01-13 16:38:34 -0800
committerAditya Mandaleeka <adityam@microsoft.com>2016-01-15 19:47:59 -0800
commit07eb08f918846f0e7bcb5fc5eda0d0865a910a98 (patch)
treebcb4fe106ae4a486c69f737ee6817efd24a53764 /src/debug/ee
parentacdee68f193eca1cb0f9f5c9244f412707df7b90 (diff)
downloadcoreclr-07eb08f918846f0e7bcb5fc5eda0d0865a910a98.tar.gz
coreclr-07eb08f918846f0e7bcb5fc5eda0d0865a910a98.tar.bz2
coreclr-07eb08f918846f0e7bcb5fc5eda0d0865a910a98.zip
Add support for GCStress 0xC.
Diffstat (limited to 'src/debug/ee')
-rw-r--r--src/debug/ee/debugger.cpp8
-rw-r--r--src/debug/ee/debugger.h7
2 files changed, 14 insertions, 1 deletions
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp
index 6279ed0499..435369c9e0 100644
--- a/src/debug/ee/debugger.cpp
+++ b/src/debug/ee/debugger.cpp
@@ -1046,7 +1046,13 @@ MemoryRange Debugger::s_hijackFunction[kMaxHijackFunctions] =
GetMemoryRangeForFunction(RedirectedHandledJITCaseForUserSuspend_Stub,
RedirectedHandledJITCaseForUserSuspend_StubEnd),
GetMemoryRangeForFunction(RedirectedHandledJITCaseForYieldTask_Stub,
- RedirectedHandledJITCaseForYieldTask_StubEnd)};
+ RedirectedHandledJITCaseForYieldTask_StubEnd)
+#ifdef HAVE_GCCOVER
+ ,
+ GetMemoryRangeForFunction(RedirectedHandledJITCaseForGCStress_Stub,
+ RedirectedHandledJITCaseForGCStress_StubEnd)
+#endif // HAVE_GCCOVER
+ };
#endif // FEATURE_HIJACK && !PLATFORM_UNIX
// Save the necessary information for the debugger to recognize an IP in one of the thread redirection
diff --git a/src/debug/ee/debugger.h b/src/debug/ee/debugger.h
index d14c83c87a..13cc5be14b 100644
--- a/src/debug/ee/debugger.h
+++ b/src/debug/ee/debugger.h
@@ -2884,6 +2884,9 @@ private:
kRedirectedForDbgThreadControl,
kRedirectedForUserSuspend,
kRedirectedForYieldTask,
+#ifdef HAVE_GCCOVER
+ kRedirectedForGCStress,
+#endif // HAVE_GCCOVER
kMaxHijackFunctions,
};
@@ -2972,6 +2975,10 @@ void RedirectedHandledJITCaseForUserSuspend_StubEnd();
void RedirectedHandledJITCaseForYieldTask_Stub();
void RedirectedHandledJITCaseForYieldTask_StubEnd();
+#ifdef HAVE_GCCOVER
+void RedirectedHandledJITCaseForGCStress_Stub();
+void RedirectedHandledJITCaseForGCStress_StubEnd();
+#endif // HAVE_GCCOVER
};