Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 922429d

Browse files
author
Mike McLaughlin
authored
Fix watson bucketing/broken triage dumps (#26670)
Fix watson bucketing/broken triage dumps The DAC EnumMemoryRegions needs to include some missing code version manager memory.
1 parent b0fa2f8 commit 922429d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/vm/method.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5475,6 +5475,11 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
54755475
}
54765476
}
54775477

5478+
#ifdef FEATURE_CODE_VERSIONING
5479+
// Make sure the active IL and native code version are in triage dumps.
5480+
GetCodeVersionManager()->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this)).GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
5481+
#endif
5482+
54785483
// Also, call DacValidateMD to dump the memory it needs. !clrstack calls
54795484
// DacValidateMD before it retrieves the method name. We don't expect
54805485
// DacValidateMD to fail, but if it does, ignore the failure and try to assemble the

0 commit comments

Comments
 (0)