From bd2f0efe8620841c4d7807bd05eebc4e03402a8f Mon Sep 17 00:00:00 2001 From: Tom Deseyn Date: Thu, 3 Sep 2026 10:07:55 +0200 Subject: [PATCH] debugging-sos-lldb-via-core: update for name2ee C# rewrite. dotnet/diagnostics#5719 rewrote name2ee from C++ to C#. The new implementation no longer emits an EEClass field, and only reports the module where a method is defined, not every referencing assembly. --- debugging-sos-lldb-via-core/test.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/debugging-sos-lldb-via-core/test.sh b/debugging-sos-lldb-via-core/test.sh index 0b7f4c8..814a0ee 100755 --- a/debugging-sos-lldb-via-core/test.sh +++ b/debugging-sos-lldb-via-core/test.sh @@ -198,17 +198,12 @@ echo "[name2ee]" lldb-core 'name2ee *!System.String' > lldb.out cat lldb.out grep 'MethodTable: ' lldb.out -grep 'EEClass: ' lldb.out grep 'Name: ' lldb.out string_module=$(grep 'Module: ' lldb.out | head -1 | awk '{print $2}') string_method_table=$(grep 'MethodTable:' lldb.out | awk '{print $2}') -string_eeclass=$(grep 'EEClass:' lldb.out | head -1 | awk '{print $2}') lldb-core 'name2ee *!System.String.ToString' > lldb.out cat lldb.out -grep 'TestDir.dll' lldb.out -grep 'System.Runtime.dll' lldb.out -grep 'Microsoft.AspNetCore.dll' lldb.out to_string_method_descriptor=$(grep 'MethodDesc:' lldb.out | head -1 | awk '{print $2}') # https://github.com/dotnet/diagnostics/issues/3757 @@ -218,11 +213,6 @@ to_string_method_descriptor=$(grep 'MethodDesc:' lldb.out | head -1 | awk '{prin # grep 'Name: System.String' lldb.out # grep -F "File: ${framework_dir}" lldb.out -echo "[dumpclass]" -lldb-core "dumpclass ${string_eeclass}" > lldb.out -cat lldb.out -grep 'Class Name: System.String' lldb.out - echo "[dumpmd]" lldb-core "dumpmd ${to_string_method_descriptor}" > lldb.out cat lldb.out