Skip to content

[pull] main from dotnet:main#131

Merged
pull[bot] merged 5 commits intoweiyilai:mainfrom
dotnet:main
Aug 7, 2025
Merged

[pull] main from dotnet:main#131
pull[bot] merged 5 commits intoweiyilai:mainfrom
dotnet:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Aug 7, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

sbomer and others added 5 commits August 6, 2025 13:28
Adds Roslyn analyzer support for parsing type names passed to
Type.GetType.

Reapplies e5b1d02 which was reverted
due to #106321. Now that
Roslyn has updated to reference System.Reflection.Metadata 9.0, we
could use `TypeName` from that assembly. However, the code was using
`TypeNameHelpers.Unescape` which was moved to `TypeName.Unescape` in
.NET 10.

Instead of using the 9.0.0 version, this just source includes the
sources for the TypeNameResolver to ensure we get the same behavior in
the analyzer as we have in ILC/ILLink.
This PR fixes assertion failures when stepping in the Mono debugger on ARM64 by aligning the breakpoint address calculation logic with the AMD64 implementation. The changes remove the division by 4 that was causing incorrect indexing into the breakpoint addresses array.
…#118414)

* Index CordbModule using module instead of domain assembly

* Ensure domain assembly is non-null in CordbModule
)

Long-running enumerator loops at Tier0+instr will see their executions
transition over to a non-instrumented OSR version of the code.

This can cause loss of PGO data in the portions of the method that
execute after the leaving the loop that inspires OSR.

For enumerator vars we can safely deduce the likely classes from
probes made earlier in the method. So when we see a class profile
for an enumerator var, remember it and use it for subsequent calls
that lack their own profile data.

Addresses part of #118420.
@pull pull bot locked and limited conversation to collaborators Aug 7, 2025
@pull pull bot added the ⤵️ pull label Aug 7, 2025
@pull pull bot merged commit 386cb8d into weiyilai:main Aug 7, 2025
3 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants