diff options
author | Sergiy Kuryata <sergeyk@microsoft.com> | 2016-01-20 21:46:13 -0800 |
---|---|---|
committer | Sergiy Kuryata <sergeyk@microsoft.com> | 2016-01-20 21:46:13 -0800 |
commit | d67baec3b7e93dd5722d0428c96a2800308ec308 (patch) | |
tree | f2910ed321546abd58fef47df7594e2bc6ad3921 /src/debug | |
parent | 84eff3ff19458affe5470af11f2f0154755f26ec (diff) | |
parent | 07eb08f918846f0e7bcb5fc5eda0d0865a910a98 (diff) | |
download | coreclr-d67baec3b7e93dd5722d0428c96a2800308ec308.tar.gz coreclr-d67baec3b7e93dd5722d0428c96a2800308ec308.tar.bz2 coreclr-d67baec3b7e93dd5722d0428c96a2800308ec308.zip |
Merge pull request #2706 from adityamandaleeka/gc_stress
Add support for GCStress 0xC
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/ee/debugger.cpp | 8 | ||||
-rw-r--r-- | src/debug/ee/debugger.h | 7 |
2 files changed, 14 insertions, 1 deletions
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp index d9b3aa857d..5066e96020 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 }; |