[PATCH] D51282: Disable calls to *_finite and other glibc-only functions on Musl.

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 6 07:12:56 PST 2018


spatel accepted this revision.
spatel added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: lib/Analysis/TargetLibraryInfo.cpp:416-417
 
   // The following functions are available on Linux,
   // but Android uses bionic instead of glibc.
+  if (!T.isOSLinux() || !T.isGNUEnvironment()) {
----------------
Change this comment to better match the code?
  // The following functions are only available on GNU/Linux.
  // Linux variants without glibc (eg: bionic, musl) may have some subset.


Repository:
  rL LLVM

https://reviews.llvm.org/D51282





More information about the llvm-commits mailing list