-
Notifications
You must be signed in to change notification settings - Fork 255
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
[FR] Provide a source code revision for prebuilt Android libc++ #1894
Comments
Yes
@pirama-arumuga-nainar (the NDK doesn't produce that, it just ships it) |
Although getting ahead of the X/Y problem... @pirama-arumuga-nainar, how practical is it to provide an LTO compatible libc++? |
@DanAlbert I'm a bit confused - "yes" means it is for compiler only or for everything? |
The patches are in a JSON file ( The |
Sorry. First message of the day and was pre-coffee. Yes, it's the whole toolchain. See the changelog
|
If we're also going to build the @serhiihuralniksc How does an LTO-enabled libc++ benefit you? The hot code in libc++ should already be in the headers. @kongy we don't enable LTO for libcxx on the Android platform. Any particular reason/downsides? |
To be clear - we are interested in IR
|
@kongy is evaluating the performance of LTO-enabled libc++ in r.android.com/2623791. Based on the results, we can turn it on for the NDK as well. If you try re-building an LTO-enabled libc++, please share the code-size or performance impact. |
(done, since libc++ and LLVM now match) |
Description
We'd like to use LTOed libc++ for our projects but unfortunately NDK does not provide IR version of this. Presumably it is not an oversight but rather there are some objective reasons behind it. In this light we plan to build it with LTO ourselves but to be 100% sure it is compatible with the compiler we need to start with the same source code state.
r26 canary has
clang_source_info.md
. Wondering if this is literally Clang-only or applies to all LLVM components bundled with NDK including libc++? If the former - is it feasible to include some sort of machine-readable description for the source code revision that corresponds to the bundled Android libc++?The text was updated successfully, but these errors were encountered: