-
Notifications
You must be signed in to change notification settings - Fork 5.1k
[LoongArch64] Add LoongArch64 support in libunwind. #62979
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
[LoongArch64] Add LoongArch64 support in libunwind. #62979
Conversation
@shushanhf, thank you. It looks like it is missing changes in: |
Yes, I had moved it from the #62889. |
@shushanhf, please update |
I am very sorry for I forgot add the version. Thanks for your review again !!! |
@@ -5,3 +5,6 @@ Replace CMakeLists.txt, src/CMakeLists.txt, configure.cmake with .NET custom ver | |||
Keep .NET oop directory | |||
Reapply changes from https://github.com/dotnet/runtime/commit/1b5719c2e3dde393531eaeb5b5cde05dabeef5b8 | |||
Apply https://github.com/libunwind/libunwind/pull/317 | |||
|
|||
For LoongArch64: | |||
Apply https://github.com/libunwind/libunwind/pull/316 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also should be added Apply https://github.com/libunwind/libunwind/pull/322
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
At least if I undertand things correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also should be added
Apply https://github.com/libunwind/libunwind/pull/322
I don't see atomic_bool
changes in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed the atomic_bool
changes to the upstream.
If need, I will update it within this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merged the https://github.com/libunwind/libunwind/pull/322
by db234e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shushanhf can you please add the libunwind/libunwind#322 to the list of "Apply" changes here too?
@shushanhf, as agreed previously, everything outside of libunwind directory should go in a separate PR. This PR is about updating libunwind, and not |
@am11 OK, I will revert it. |
Close & reopen for trigger CI |
Hi @janvorli, could you please take a look so we can merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM modulo the comment, thank you!
@@ -5,3 +5,6 @@ Replace CMakeLists.txt, src/CMakeLists.txt, configure.cmake with .NET custom ver | |||
Keep .NET oop directory | |||
Reapply changes from https://github.com/dotnet/runtime/commit/1b5719c2e3dde393531eaeb5b5cde05dabeef5b8 | |||
Apply https://github.com/libunwind/libunwind/pull/317 | |||
|
|||
For LoongArch64: | |||
Apply https://github.com/libunwind/libunwind/pull/316 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shushanhf can you please add the libunwind/libunwind#322 to the list of "Apply" changes here too?
OK, I will add it. |
The change looks good, I have already approved it last week with one nit that was fixed since. |
…#63489) * [LoongArch64] add the `coreclr/unwinder/loongarch64` from the #62979. * [LoongArch64] replace the `__in` with `_In_`. * [LoongArch64] update the version of the `LICENSE description`. * [LoongArch64] update the macro-define for crossgen2. * [LoongArch64] amend the comment notes. Co-authored-by: qiaopengcheng <qiaopengcheng-hf@loongson.cn>
add the libunwind for LoongArch64 alone.