diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2019-09-12 15:39:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 15:39:39 -0700 |
commit | 922429db0144dd6f3b4324805464dae82857512a (patch) | |
tree | e3a108e0727985f00472a7b238c8a5bb84e21e9d /src/vm | |
parent | b0fa2f8fbd27fc844a87b7082bed578e2210db08 (diff) | |
download | coreclr-922429db0144dd6f3b4324805464dae82857512a.tar.gz coreclr-922429db0144dd6f3b4324805464dae82857512a.tar.bz2 coreclr-922429db0144dd6f3b4324805464dae82857512a.zip |
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.
Diffstat (limited to 'src/vm')
-rw-r--r-- | src/vm/method.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vm/method.cpp b/src/vm/method.cpp index 743b7b6018..e4a75d6a4c 100644 --- a/src/vm/method.cpp +++ b/src/vm/method.cpp @@ -5475,6 +5475,11 @@ MethodDesc::EnumMemoryRegions(CLRDataEnumMemoryFlags flags) } } +#ifdef FEATURE_CODE_VERSIONING + // Make sure the active IL and native code version are in triage dumps. + GetCodeVersionManager()->GetActiveILCodeVersion(dac_cast<PTR_MethodDesc>(this)).GetActiveNativeCodeVersion(dac_cast<PTR_MethodDesc>(this)); +#endif + // Also, call DacValidateMD to dump the memory it needs. !clrstack calls // DacValidateMD before it retrieves the method name. We don't expect // DacValidateMD to fail, but if it does, ignore the failure and try to assemble the |