Skip to content

Prep for new diagnostic work and tests - #81571

Merged
AaronRobinsonMSFT merged 5 commits into
dotnet:mainfrom
AaronRobinsonMSFT:asserts_under_diag_tests
Feb 4, 2023
Merged

Prep for new diagnostic work and tests#81571
AaronRobinsonMSFT merged 5 commits into
dotnet:mainfrom
AaronRobinsonMSFT:asserts_under_diag_tests

Conversation

@AaronRobinsonMSFT

@AaronRobinsonMSFT AaronRobinsonMSFT commented Feb 2, 2023

Copy link
Copy Markdown
Member

This PR is preparation for work in the diagnostics space.
Some tests were failing due to asserts when running against
a DBG/CHK runtime and those asserts have been addressed.

Move the EnC flag from the InstantiatedMethodDesc to the
MethodDesc and update code accordingly.

/cc @mikelle-rogers @dotnet/dotnet-diag

@ghost

ghost commented Feb 2, 2023

Copy link
Copy Markdown

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

Issue Details

/cc @mikelle-rogers @dotnet/dotnet-diag

Author: AaronRobinsonMSFT
Assignees: -
Labels:

area-Diagnostics-coreclr

Milestone: 8.0.0

Comment thread src/coreclr/vm/eetwain.cpp
@AaronRobinsonMSFT
AaronRobinsonMSFT marked this pull request as draft February 3, 2023 16:15
@AaronRobinsonMSFT AaronRobinsonMSFT changed the title Fix asserts fired during diag testing Prep for new diagnostic work and tests Feb 3, 2023
Instantiated MethodDesc.

Renamed ambiguous method and updated some logging.
@AaronRobinsonMSFT

Copy link
Copy Markdown
Member Author

@noahfalk @hoyosjs @tommcdon I'm repurposing this PR a little. This is now a bit broader as prep for the work we are doing in .NET 8. I've run diagnostic tests locally and all pass with these changes.

@AaronRobinsonMSFT
AaronRobinsonMSFT marked this pull request as ready for review February 3, 2023 23:24
Comment thread src/coreclr/vm/method.hpp Outdated
Comment thread src/coreclr/vm/methodtablebuilder.cpp Outdated
Comment thread src/coreclr/vm/eetwain.cpp Outdated
@AaronRobinsonMSFT
AaronRobinsonMSFT merged commit b69fa27 into dotnet:main Feb 4, 2023
@AaronRobinsonMSFT
AaronRobinsonMSFT deleted the asserts_under_diag_tests branch February 4, 2023 06:42
AaronRobinsonMSFT added a commit to AaronRobinsonMSFT/runtime that referenced this pull request Feb 6, 2023
Removes GC_TRIGGERS contract for functions that
do not trigger a GC. The removed contract definition
appears to be out of date.

Fallout from dotnet#81571
AaronRobinsonMSFT added a commit that referenced this pull request Feb 7, 2023
Removes GC_TRIGGERS contract for functions that
do not trigger a GC. The removed contract definition
appears to be out of date.

Fallout from #81571
@ghost ghost locked as resolved and limited conversation to collaborators Mar 6, 2023
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.

6 participants