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:
authorDavid Wrighton <davidwr@microsoft.com>2017-04-29 02:21:51 +0300
committerDavid Wrighton <davidwr@microsoft.com>2017-04-29 02:21:51 +0300
commit790ea4e6b76986997cbcc8e12f6e66dbee86eaeb (patch)
treed6612093377ffebf50bade900635ca08bb389b8b /src/Native/Runtime/MiscHelpers.cpp
parentd86dbc384ca8ae34245bdca97d59a144bc8e2548 (diff)
Enhance debugging support for existing .NET Native managed debugger
- Change eetype node name to end with ::`vftable' to improve debuggability in windbg - Change node name of statics nodes to be composed from mangled type name + a suffix. This makes it possible to find these statics blocks through msdia api surface. Will need work with debugger symbol generation to provide individual static field lookup - Send debugger events on module load for TypeManager based modules [tfs-changeset: 1656557]
Diffstat (limited to 'src/Native/Runtime/MiscHelpers.cpp')
-rw-r--r--src/Native/Runtime/MiscHelpers.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Native/Runtime/MiscHelpers.cpp b/src/Native/Runtime/MiscHelpers.cpp
index d91fae440..27a74f19a 100644
--- a/src/Native/Runtime/MiscHelpers.cpp
+++ b/src/Native/Runtime/MiscHelpers.cpp
@@ -110,9 +110,9 @@ COOP_PINVOKE_HELPER(UInt32, RhGetLoadedOSModules, (Array * pResultArray))
ReaderWriterLock::ReadHolder read(&GetRuntimeInstance()->GetTypeManagerLock());
- RuntimeInstance::OsModuleList osModules = GetRuntimeInstance()->GetOsModuleList();
+ RuntimeInstance::OsModuleList *osModules = GetRuntimeInstance()->GetOsModuleList();
- for (RuntimeInstance::OsModuleList::Iterator iter = osModules.Begin(); iter != osModules.End(); iter++)
+ for (RuntimeInstance::OsModuleList::Iterator iter = osModules->Begin(); iter != osModules->End(); iter++)
{
if (pResultArray && (cModules < cResultArrayElements))
pResultElements[cModules] = iter->m_osModule;