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

Ryan Prichard via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 22 13:03:27 PDT 2021


rprichard added a comment.

In D96403#2639210 <https://reviews.llvm.org/D96403#2639210>, @srhines wrote:

> It is actually using `clang-r416183` from toolchains.py <https://android.googlesource.com/platform/ndk/+/b99ed034df649c4c072bfb24151e13dc91722395/ndk/toolchains.py#25>. From there, you can go to the manifest for building those prebuilts <https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/7094e5df5e701d98ad2b7cf8959cb64ed79d4010/clang-r416183/manifest_7211189.xml>. This line <https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/7094e5df5e701d98ad2b7cf8959cb64ed79d4010/clang-r416183/manifest_7211189.xml#12> shows you the SHA for the `toolchain/llvm-project` used to build the prebuilts. Finally, you can look here <https://android.googlesource.com/toolchain/llvm-project/+/c935d99d7cf2016289302412d708641d52d2f7ee> to see what was merged. Note that there's a typo for the revision number in the commit message, but the upstream LLVM SHA <https://github.com/llvm/llvm-project/commit/8456c3a789285079ad35d146e487436b5a27b027> mentioned there is correct. Here <https://ci.android.com/builds/branches/aosp-llvm-toolchain/grid?head=7211189&tail=7211189> is where this toolchain was built in case that is useful/interesting.

Also: that manifest <https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86/+/7094e5df5e701d98ad2b7cf8959cb64ed79d4010/clang-r416183/manifest_7211189.xml> also links to the `toolchain/llvm_android` git repository <https://android.googlesource.com/toolchain/llvm_android/+/dd5252ad91f5a261ed732f5b728a80e0d1919917>, which has a Python-based build system and a series of patches <https://android.googlesource.com/toolchain/llvm_android/+/dd5252ad91f5a261ed732f5b728a80e0d1919917/patches/PATCHES.json> (mostly cherry-picks) applied to the baseline llvm-project source.


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