We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4823e7c commit a39ce71Copy full SHA for a39ce71
src/coreclr/ToolBox/superpmi/superpmi-shared/methodcontext.cpp
@@ -4184,7 +4184,9 @@ LONG* MethodContext::repGetAddrOfCaptureThreadGlobal(void** ppIndirection)
4184
if ((GetAddrOfCaptureThreadGlobal == nullptr) || (GetAddrOfCaptureThreadGlobal->GetIndex((DWORD)0) == -1))
4185
{
4186
#ifdef sparseMC
4187
- LogDebug("Sparse - repGetAddrOfCaptureThreadGlobal returning 0xCAFE0001");
+ LogDebug("Sparse - repGetAddrOfCaptureThreadGlobal returning nullptr and 0xCAFE0001");
4188
+ if (ppIndirection != nullptr)
4189
+ *ppIndirection = nullptr;
4190
return (LONG*)(size_t)0xCAFE0001;
4191
#else
4192
LogException(EXCEPTIONCODE_MC, "Didn't find anything for GetAddrOfCaptureThreadGlobal", "");
0 commit comments