Skip to content

Commit bbe2762

Browse files
github-actions[bot]thaystgtommcdon
authored
Fix generation of minidump (#115738)
Co-authored-by: Thays Grazia <[email protected]> Co-authored-by: Tom McDonald <[email protected]>
1 parent 3090813 commit bbe2762

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/coreclr/vm/method.cpp

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3696,10 +3696,14 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
36963696
ILCodeVersion ilVersion = pCodeVersionManager->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this));
36973697
if (!ilVersion.IsNull())
36983698
{
3699-
ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
3700-
ilVersion.GetVersionId();
3701-
ilVersion.GetRejitState();
3702-
ilVersion.GetIL();
3699+
EX_TRY
3700+
{
3701+
ilVersion.GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
3702+
ilVersion.GetVersionId();
3703+
ilVersion.GetRejitState();
3704+
ilVersion.GetIL();
3705+
}
3706+
EX_CATCH_RETHROW_ONLY_COR_E_OPERATIONCANCELLED
37033707
}
37043708
#endif
37053709

0 commit comments

Comments
 (0)