Skip to content

[cdac] PrecodeStubs and CDacMetadata contracts - #109030

Merged
lambdageek merged 16 commits into
dotnet:mainfrom
lambdageek:cdac-precode-stubs
Oct 24, 2024
Merged

[cdac] PrecodeStubs and CDacMetadata contracts#109030
lambdageek merged 16 commits into
dotnet:mainfrom
lambdageek:cdac-precode-stubs

Conversation

@lambdageek

@lambdageek lambdageek commented Oct 18, 2024

Copy link
Copy Markdown
Member

Adds a PrecodeStubs contract for working with precode.
Adds a CDacMetadata contract for exposing useful platform-specific properties

Contributes to #99302
Contributes to #108553

* move PrecodeStubs to a separate contract
* remove instance field initialization from PrecodeMachineDescriptor
* PrecodeMachineDescriptor::Init() will initialize g_PrecodeMachineDescriptor
* fix thumb flag logic
* add FixupPrecodeData
* checkpoint: StubPrecodeData, StubCodePageSize
* checkpoint: PrecodeMachineDescriptor and KnownPrecodeType
@ghost ghost added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 18, 2024
@lambdageek lambdageek added area-Diagnostics-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Oct 18, 2024
@dotnet-policy-service

Copy link
Copy Markdown
Contributor

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

@lambdageek
lambdageek marked this pull request as ready for review October 21, 2024 16:53
Comment thread src/coreclr/vm/precode.h
Comment thread src/coreclr/vm/precode.h Outdated
Comment thread src/coreclr/vm/precode.h Outdated
@lambdageek lambdageek changed the title [cdac] PrecodeStubs contract [cdac] PrecodeStubs and CDacMetadata contracts Oct 21, 2024
@lambdageek

Copy link
Copy Markdown
Member Author

Could I get one more look

Comment thread docs/design/datacontracts/PrecodeStubs.md Outdated
Comment thread docs/design/datacontracts/PrecodeStubs.md Outdated
Comment thread docs/design/datacontracts/PrecodeStubs.md Outdated
Comment thread src/coreclr/vm/precode.h
Comment thread docs/design/datacontracts/CDacMetadata.md Outdated
Comment thread docs/design/datacontracts/CDacMetadata.md
Co-authored-by: Elinor Fung <elfung@microsoft.com>
Comment thread src/coreclr/vm/precode.cpp Outdated
Comment thread src/coreclr/vm/precode.cpp Outdated
@lambdageek
lambdageek merged commit 285af45 into dotnet:main Oct 24, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 24, 2024
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.

3 participants