[PATCH] D111358: TargetLibraryInfo checker tool
Ryan Prichard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 5 00:11:04 PDT 2021
rprichard added subscribers: srhines, pirama, danalbert.
rprichard added a comment.
Adding some Android folks to the subscriber list.
The motivating issue happened with Android (D107509 <https://reviews.llvm.org/D107509>). Maybe this test could be a useful way to ensure that LLVM doesn't assume a function is available that isn't actually in the NDK. To work, I think we'd want to test the LLVM toolchain with an NDK sysroot. For each arch-API combination, we'd want to run something like:
llvm-tli-checker --triple=${triple}${api} --libdir=${sysroot}/usr/lib/${triple}/${api} libc.so libm.so ../libc++_shared.so
I assume we need `libc++_shared.so` to provide the new/delete functions like `LibFunc_Znwm`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111358/new/
https://reviews.llvm.org/D111358
More information about the llvm-commits
mailing list