Skip to content

Conversation

MichalStrehovsky
Copy link
Member

@MichalStrehovsky MichalStrehovsky commented Aug 13, 2025

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 Copilot AI review requested due to automatic review settings August 13, 2025 09:55
@MichalStrehovsky
Copy link
Member Author

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@MichalStrehovsky
Copy link
Member Author

/azp run runtime-nativeaot-outerloop

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

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

Copy link
Contributor

@Copilot Copilot AI left a comment

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
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
2 participants