[PATCH] D96403: [Android] Use -l:libunwind.a with --rtlib=compiler-rt

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 19 18:54:05 PDT 2021


smeenai added a comment.

In D96403#2638932 <https://reviews.llvm.org/D96403#2638932>, @rprichard wrote:

> In D96403#2638883 <https://reviews.llvm.org/D96403#2638883>, @smeenai wrote:
>
>> With NDK r22, I only see libunwind.a for armv7. Will it be provided for other architectures in future NDK versions?
>
> NDK r23 should have a libunwind.a for all architectures. This change isn't in the r23 beta 2 that was just released, but it is in the current NDK canary build at https://ci.android.com/builds/branches/aosp-master-ndk/grid. (e.g. build 7220482 <https://ci.android.com/builds/branches/aosp-master-ndk/grid?head=7220482&tail=7220482>).

Got it, thanks.

Is there a public repository for viewing the libunwind source state that the NDK r23 libunwind is built from? I have the AOSP source tree checked out (following the instructions in https://source.android.com/setup/build/downloading) on the llvm-toolchain manifest branch. toolchain/llvm-project inside that checkout (https://android.googlesource.com/toolchain/llvm-project) has a branch for ndk-release-r23, but the merge base of that branch and upstream LLVM main is from April 29 2020, and I don't see many newer changes to libunwind after that, so I wasn't sure I was looking at the right place. I know you've done a bunch more libunwind work since then (e.g. D87750 <https://reviews.llvm.org/D87750>, D87881 <https://reviews.llvm.org/D87881>, and D90898 <https://reviews.llvm.org/D90898>), so I was curious if those were gonna be part of r23's libunwind.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96403/new/

https://reviews.llvm.org/D96403



More information about the cfe-commits mailing list