Repository navigation
[wasm] Respect disabled debugger support in CoreCLR layout checks - #137496
Merged
pavelsavara merged 4 commits intoNov 13, 2026
Merged
Conversation
Skip function-evaluation layout checks when the debugger feature is disabled, without changing required debugger entrypoint registrations. Cover both feature values with trimmed Browser startup and linked metadata assertions. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 12 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to this area: @steveisok, @tommcdon, @dotnet/dotnet-diag |
Clarify the role of the mscorlib binder and layout checks in the context of managed and native code interactions.
Clarified the role of the mscorlib binder in mapping unmanaged to managed types and methods. Explained the differences between FCall and QCall techniques for calling into the CLR from managed code.
maraf
reviewed
Nov 13, 2026
The fixture reproduced the issue locally with Debug native artifacts, but Release native packs in WBT CI omit the failing layout checks. Keep the native fix and the local red/green validation evidence. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
jkoritzinsky
approved these changes
Nov 13, 2026
Member
Author
|
/ba-g unrelated failures |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Guard the CoreCLR function-evaluation layout checks with
System.Diagnostics.Debugger.IsSupported. This prevents Debug/Checked native runtime startup from loading types removed by trimming when debugger support is disabled. Enabled-mode layout validation and debugger method registrations remain unchanged.Validation
Note
This description was generated with Copilot.