Repository navigation
Delete SUPPORT_LOCAL_DEBUGGING ifdef - #134664
Merged
Merged
Conversation
Co-authored-by: jkotas <[email protected]>
|
Azure Pipelines: Successfully started running 3 pipeline(s). 13 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 |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
The ARM-specific context layout and alignment safeguards need to be retained or proven unnecessary.
Get a fresh assessment by requesting another Copilot review.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
This PR removes obsolete ARM-specific debugging stubs and unifies thread-context macros across platforms.
Changes:
- Removes
SUPPORT_LOCAL_DEBUGGINGand ARM-only implementations. - Uses shared
GetThreadContext/SetThreadContextmacros for ARM.
| File | Summary |
|---|---|
src/coreclr/debug/di/stdafx.h |
Unifies context macros; a critical ARM layout and alignment concern remains. |
src/coreclr/debug/di/cordb.cpp |
Removes obsolete ARM implementations and configuration. |
jkotas
reviewed
Sep 25, 2026
steveisok
approved these changes
Oct 15, 2026
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.

SUPPORT_LOCAL_DEBUGGINGindebug/di/cordb.cppwas used only by ARM's out-of-lineDbiGetThreadContext/DbiSetThreadContext. ARM32 is supported only on Unix, where the define was0, so both functions always asserted and returnedFALSE.debug/di/cordb.cppSUPPORT_LOCAL_DEBUGGINGdefine.DbiGetThreadContext/DbiSetThreadContextimplementations.debug/di/stdafx.hTARGET_ARMsplit.On ARM, callers now reach the PAL
GetThreadContext/SetThreadContext, the same as other Unix architectures, instead of an assert-and-fail stub. Most callers are inFEATURE_INTEROP_DEBUGGINGpaths, which are Windows-only.Note
This PR was generated by GitHub Copilot.