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

Commit c707157

Browse files
Mike McLaughlinjkotas
authored andcommitted
Fix watson bucketing/broken triage dumps (#26714)
The DAC EnumMemoryRegions needs to include some missing code version manager memory.
1 parent ee6b9d3 commit c707157

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
@@ -5494,6 +5494,11 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags)
54945494
}
54955495
}
54965496

5497+
#ifdef FEATURE_CODE_VERSIONING
5498+
// Make sure the active IL and native code version are in triage dumps.
5499+
GetCodeVersionManager()->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this)).GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this));
5500+
#endif
5501+
54975502
// Also, call DacValidateMD to dump the memory it needs. !clrstack calls
54985503
// DacValidateMD before it retrieves the method name. We don't expect
54995504
// DacValidateMD to fail, but if it does, ignore the failure and try to assemble the

0 commit comments

Comments
 (0)