Skip to content

[cDAC] PR 2/5: RuntimeSignatureDecoder for ELEMENT_TYPE_INTERNAL#9

Draft
max-charlamb wants to merge 2 commits intocdac-stackrefs-pr1from
cdac-stackrefs-pr2
Draft

[cDAC] PR 2/5: RuntimeSignatureDecoder for ELEMENT_TYPE_INTERNAL#9
max-charlamb wants to merge 2 commits intocdac-stackrefs-pr1from
cdac-stackrefs-pr2

Conversation

@max-charlamb
Copy link
Copy Markdown
Owner

Part 2 of 5. Adds custom signature decoder for runtime-internal types.

Note

This PR was created with AI assistance from Copilot.

Max Charlamb and others added 2 commits April 24, 2026 12:18
Implement GC reference scanning for stub/transition frames and fix
stack walker state machine bugs:

- PromoteCallerStack/PromoteCallerStackUsingGCRefMap for transition frames
- GCRefMap decoder for ReadyToRun import section resolution
- FindGCRefMap with FindReadyToRunModule fallback
- SOSDacImpl.GetStackReferences using cDAC contract
- Fix IsFirst preserved for skipped frames
- Fix skipped frame handling moved to UpdateState
- GCInfoDecoder goto removal (ReportUntrackedAndSucceed local function)
- RequiresInstArg, IsAsyncMethod, HasRetBuffArg on IRuntimeTypeSystem
- ExceptionInfo ClauseForCatch fields for catch handler detection
- Data descriptor additions for frame types and TransitionBlock layout

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Custom signature decoder handling runtime-internal type codes
(ELEMENT_TYPE_INTERNAL 0x21, ELEMENT_TYPE_CMOD_INTERNAL 0x22) which
SRM's SignatureDecoder cannot parse. Replaces SRM in PromoteCallerStack.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@max-charlamb max-charlamb force-pushed the cdac-stackrefs-pr1 branch 2 times, most recently from 6c234d9 to 0ee4452 Compare April 27, 2026 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant