Skip to content

Conversation

chenguohui
Copy link
Contributor

Fix a typo introduced from #110799.

@shushanhf @LuckyXu-HF

Change-Id: I6ae5074b310611955dc8a95fb9c67223af7a25f1
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Jan 6, 2025
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@chenguohui
Copy link
Contributor Author

@agocke please have a look.

@huoyaoyuan
Copy link
Member

This is included in #111086

@chenguohui
Copy link
Contributor Author

This is included in #111086

Thanks, I'll close this PR when #111086 merged.


*ppvRetAddrLocation = (PTR_PTR_VOID)pRegisterSet->pLR;
#elif
#else
Copy link
Member

@jkotas jkotas Jan 6, 2025

Choose a reason for hiding this comment

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

The code is identical between the #if and #else, except for the register name.

Would it be better to add delete this ifdef and add a helper method method to LoongArch and Arm reg displays to abstract away the difference?

inline uintptr_t* GetReturnAddressRegisterLocation() { return pLR; }
...
inline uintptr_t* GetReturnAddressRegisterLocation() { return pRA; }

@jkotas
Copy link
Member

jkotas commented Jan 8, 2025

Fix included in #111086

@jkotas jkotas closed this Jan 8, 2025
@chenguohui chenguohui deleted the patch-typo branch January 9, 2025 08:33
@github-actions github-actions bot locked and limited conversation to collaborators Feb 8, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-NativeAOT-coreclr community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants