From 0ca3c8d5b32770c53a41c3a7dee80716e7504ee9 Mon Sep 17 00:00:00 2001 From: Max Charlamb Date: Fri, 17 Apr 2026 13:38:42 -0400 Subject: [PATCH] Update Microsoft.Diagnostics.Runtime to 4.0.722401 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update ClrMD to the first stable release with cross-bitness address truncation fixes (microsoft/clrmd#1423). This version correctly handles sign-extended CLRDATA_ADDRESS values on 32-bit targets, enabling 32-bit hosts to read 64-bit dumps. Remove the cross-bitness dump test skip added in #127118 — ClrMD now supports this scenario. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- eng/Versions.props | 2 +- .../managed/cdac/tests/DumpTests/DumpTestBase.cs | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/eng/Versions.props b/eng/Versions.props index 6cd6187d153843..d445186875aa0f 100644 --- a/eng/Versions.props +++ b/eng/Versions.props @@ -155,7 +155,7 @@ 13.0.3 1.0.2 4.18.4 - 4.0.0-beta.26210.1 + 4.0.722401 8.0.2 2.14.3 2.9.1 diff --git a/src/native/managed/cdac/tests/DumpTests/DumpTestBase.cs b/src/native/managed/cdac/tests/DumpTests/DumpTestBase.cs index fe1a05ab99bca5..4b1a0a1f38f338 100644 --- a/src/native/managed/cdac/tests/DumpTests/DumpTestBase.cs +++ b/src/native/managed/cdac/tests/DumpTests/DumpTestBase.cs @@ -148,18 +148,6 @@ private void EvaluateSkipAttributes(TestConfiguration config, string callerName, if (_dumpInfo is not null) { - // Cross-bitness dump reading is not yet supported when a 32-bit host - // tries to read a 64-bit dump (see microsoft/clrmd#1423). - // The reverse (64-bit host reading 32-bit dump) works fine. - bool isDump64Bit = _dumpInfo.Arch is "x64" or "arm64" or "riscv64" or "loongarch64"; - bool isHost64Bit = IntPtr.Size == 8; - if (isDump64Bit && !isHost64Bit) - { - throw new SkipTestException( - $"32-bit host cannot read 64-bit dumps: dump is {_dumpInfo.Arch}. " + - $"See microsoft/clrmd#1423."); - } - foreach (SkipOnOSAttribute attr in method.GetCustomAttributes()) { if (attr.IncludeOnly is not null)