We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ab70d3 commit 2e71ad4Copy full SHA for 2e71ad4
src/coreclr/debug/daccess/dacdbiimpl.cpp
@@ -5469,6 +5469,12 @@ GENERICS_TYPE_TOKEN DacDbiInterfaceImpl::ResolveExactGenericArgsToken(DWORD
5469
5470
if (dwExactGenericArgsTokenIndex == 0)
5471
{
5472
+ // In a rare case of VS4Mac debugging VS4Mac ARM64 optimized code we get a null generics argument token. This workaround
5473
+ // should only cause us to degrade generic types from exact type parameters to approximate or canonical type parameters.
5474
+ if (rawToken == 0)
5475
+ {
5476
+ return rawToken;
5477
+ }
5478
// In this case the real generics type token is the MethodTable of the "this" object.
5479
// Note that we want the target address here.
5480
0 commit comments