Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Au <andrewau@microsoft.com>2017-06-15 21:07:48 +0300
committerAndrew Au <andrewau@microsoft.com>2017-06-15 21:07:48 +0300
commit34b00937c6c83185d3f3512df2b71d777263f3b4 (patch)
tree5e4c9b86627266158e0c9bc66afb934f1c3bcd99 /src/Native/Runtime/DebuggerHook.h
parent3805f6558511e79f9367723147f1aeff1be4cc20 (diff)
Debugger Support
[tfs-changeset: 1661846]
Diffstat (limited to 'src/Native/Runtime/DebuggerHook.h')
-rw-r--r--src/Native/Runtime/DebuggerHook.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Native/Runtime/DebuggerHook.h b/src/Native/Runtime/DebuggerHook.h
index c64ff8b0c..3f050a4d0 100644
--- a/src/Native/Runtime/DebuggerHook.h
+++ b/src/Native/Runtime/DebuggerHook.h
@@ -18,19 +18,19 @@
#ifndef DACCESS_COMPILE
-struct DebuggerProtectedBufferList
+struct DebuggerProtectedBufferListNode
{
UInt64 address;
UInt16 size;
UInt32 identifier;
- struct DebuggerProtectedBufferList* next;
+ struct DebuggerProtectedBufferListNode* next;
};
-struct DebuggerOwnedHandleList
+struct DebuggerOwnedHandleListNode
{
void* handle;
UInt32 identifier;
- struct DebuggerOwnedHandleList* next;
+ struct DebuggerOwnedHandleListNode* next;
};
class DebuggerHook
@@ -38,11 +38,12 @@ class DebuggerHook
public:
static void OnBeforeGcCollection();
static UInt32 RecordDebuggeeInitiatedHandle(void* handle);
- static DebuggerProtectedBufferList* s_debuggerProtectedBuffers;
- static DebuggerOwnedHandleList* s_debuggerOwnedHandleList;
+ static DebuggerProtectedBufferListNode* s_debuggerProtectedBuffers;
+ static DebuggerOwnedHandleListNode* s_debuggerOwnedHandles;
private:
static void EnsureConservativeReporting(GcProtectionRequest* request);
static void RemoveConservativeReporting(GcProtectionRequest* request);
+ static void EnsureHandle(GcProtectionRequest* request);
static void RemoveHandle(GcProtectionRequest* request);
static UInt32 s_debuggeeInitiatedHandleIdentifier;
};