[all-commits] [llvm/llvm-project] 584816: Disable LibFuncs for stpcpy and stpncpy for Androi...
Nathan Lanza via All-commits
all-commits at lists.llvm.org
Wed Aug 4 19:49:02 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 58481663692b55ca03f8b41ccb660dcbcebffc49
https://github.com/llvm/llvm-project/commit/58481663692b55ca03f8b41ccb660dcbcebffc49
Author: Nathan Lanza <nathan at lanza.io>
Date: 2021-08-04 (Wed, 04 Aug 2021)
Changed paths:
M llvm/lib/Analysis/TargetLibraryInfo.cpp
M llvm/test/Transforms/InstCombine/sprintf-1.ll
Log Message:
-----------
Disable LibFuncs for stpcpy and stpncpy for Android < 21
These functions don't exist in android API levels < 21. A change in
llvm-12 (rG6dbf0cfcf789) caused Oz builds to emit this symbol assuming
it's available and thus is causing link errors. Simply disable it here.
Differential Revision: https://reviews.llvm.org/D107509
More information about the All-commits
mailing list