Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release/8.0] Fix arm64/arm32 cross-DAC #91438

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 1, 2023

Backport of #91425 to release/8.0

/cc @mikem8361

Customer Impact

Various SOS commands don't work well when loading a Linux arm64/arm32 dump on Windows. clrstack/pe don't display any function names.

The precode code was incorrectly using the HOST_ARM64, HOST_ARM, etc. defines instead of the TARGET_ ones. This means the cross-DAC was using the wrong architectures *Precode::Type codes.

Our vendors have been reporting this issue during their regular SOS testing for too long.

Testing

Local testing.

Risk

Low risk.

IMPORTANT: If this backport is for a servicing release, please verify that:

  • The PR target branch is release/X.0-staging, not release/X.0.

  • If the change touches code that ships in a NuGet package, you have added the necessary package authoring and gotten it explicitly reviewed.

The precode code was incorrectly using the HOST_ARM64, HOST_ARM, etc. defines instead
of the TARGET_ ones. This means the cross-DAC was using the wrong architectures
*Precode::Type codes.
@mikem8361
Copy link
Member

@jeffschwMSFT could you approve?

Copy link
Member

@jeffschwMSFT jeffschwMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approved. once ready this can be merged

@jeffschwMSFT jeffschwMSFT added the Servicing-approved Approved for servicing release label Sep 1, 2023
@jeffschwMSFT jeffschwMSFT added this to the 8.0.0 milestone Sep 1, 2023
@mikem8361
Copy link
Member

It is ready to merge

@carlossanlop carlossanlop merged commit 4d6f6bc into release/8.0 Sep 1, 2023
110 of 112 checks passed
@carlossanlop carlossanlop deleted the backport/pr-91425-to-release/8.0 branch September 1, 2023 18:33
@radical radical mentioned this pull request Sep 26, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Oct 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-VM-coreclr Servicing-approved Approved for servicing release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants