Skip to content

Skip generating debug info for deduplicated nodes - #118671

Merged
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:fix118236
Aug 13, 2025
Merged

Skip generating debug info for deduplicated nodes#118671
MichalStrehovsky merged 1 commit into
dotnet:mainfrom
MichalStrehovsky:fix118236

Conversation

@MichalStrehovsky

@MichalStrehovsky MichalStrehovsky commented Aug 13, 2025

Copy link
Copy Markdown
Member

Fixes #118236

We have a check to prevent generating duplicated method bodies when emitting the bodies, but we were missing a check when generating the debug information. So we generated debug info for methods that don't exist.

We had this problem since method body folding was added in #101969 but it only started showing up as a problem now and only on x64 macOS.

Cc @dotnet/ilc-contrib

Copilot AI review requested due to automatic review settings August 13, 2025 09:55
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

/azp run runtime-nativeaot-outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

/azp run runtime-nativeaot-outerloop

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@MichalStrehovsky

Copy link
Copy Markdown
Member Author

/ba-g the libs break is unrelated and has been fixed in main

@MichalStrehovsky
MichalStrehovsky merged commit f2fadd8 into dotnet:main Aug 13, 2025
97 of 117 checks passed
@MichalStrehovsky
MichalStrehovsky deleted the fix118236 branch August 13, 2025 21:22
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 13, 2025
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.

Linker on OSX x64 generates errors

3 participants