Repository navigation
Add initial support for LoongArch64 - #113
Merged
Merged
Conversation
1 of 6 tasks
xry111
reviewed
Mar 3, 2026
xry111
left a comment
There was a problem hiding this comment.
and should we also fill the FP or SIMD context?
Comment on lines
+45
to
+50
| "li.w $t0, 0", // mcontext_t.__flags | ||
| "st.w $t0, $a0, 440", | ||
| "li.w $t0, 0", // sctx_info.magic | ||
| "st.w $t0, $a0, 448", | ||
| "li.w $t0, 0", // sctx_info.size | ||
| "st.w $t0, $a0, 452", |
There was a problem hiding this comment.
Suggested change
| "li.w $t0, 0", // mcontext_t.__flags | |
| "st.w $t0, $a0, 440", | |
| "li.w $t0, 0", // sctx_info.magic | |
| "st.w $t0, $a0, 448", | |
| "li.w $t0, 0", // sctx_info.size | |
| "st.w $t0, $a0, 452", | |
| "st.w $zero, $a0, 440", // mcontext_t.__flags | |
| "st.d $zero, $a0, 448", // sctx_info.magic and sctx_info.size |
Contributor
Author
I think it's better to do it that way. The fact that LoongArch's |
Jake-Shadle
approved these changes
Jul 15, 2026
Jake-Shadle
left a comment
Member
There was a problem hiding this comment.
I'll merge this even though I can't test it, feel free to send more patches, I will try to merge them more quickly next time.
3 tasks
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.
Checklist
Description of Changes
Add initial support for LoongArch64 Linux to crash-context, crash-handler and sadness-generator.
Related Issues
None