Skip to content

Revert "Workaround for a bug in latest MSVC"#126742

Merged
AaronRobinsonMSFT merged 1 commit intomainfrom
revert-120282-msvc-workaround
Apr 10, 2026
Merged

Revert "Workaround for a bug in latest MSVC"#126742
AaronRobinsonMSFT merged 1 commit intomainfrom
revert-120282-msvc-workaround

Conversation

@jkotas
Copy link
Copy Markdown
Member

@jkotas jkotas commented Apr 10, 2026

Reverts #120282

Copilot AI review requested due to automatic review settings April 10, 2026 04:33
@dotnet-policy-service
Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag
See info in area-owners.md if you want to be subscribed.

Copy link
Copy Markdown
Contributor

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.

Pull request overview

Reverts a previously added MSVC-specific workaround in CoreCLR’s DAC/DBI implementation, restoring the original compilation/optimization behavior for the affected code path.

Changes:

  • Removes the _MSC_VER-guarded #pragma optimize("", off/on) block that wrapped the GetILCodeAndSig area in dacdbiimpl.cpp.

@jkotas
Copy link
Copy Markdown
Member Author

jkotas commented Apr 10, 2026

This fix was released ~6 months ago.

Copy link
Copy Markdown
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

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

:shipit:

@AaronRobinsonMSFT AaronRobinsonMSFT merged commit 4ab5c7c into main Apr 10, 2026
115 of 117 checks passed
@AaronRobinsonMSFT AaronRobinsonMSFT deleted the revert-120282-msvc-workaround branch April 10, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants