[clang] [llvm] [TLI] Add support for reallocarray (PR #114818)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 00:14:04 PST 2024
================
@@ -852,6 +852,7 @@ static void initializeLibCalls(TargetLibraryInfoImpl &TLI, const Triple &T,
TLI.setUnavailable(LibFunc_memrchr);
TLI.setUnavailable(LibFunc_ntohl);
TLI.setUnavailable(LibFunc_ntohs);
+ TLI.setUnavailable(LibFunc_reallocarray);
----------------
serge-sans-paille wrote:
That's from the manpage (e.g. https://man.archlinux.org/man/reallocarray.3.en). I'll update the commit message to make it clear.
https://github.com/llvm/llvm-project/pull/114818
More information about the cfe-commits
mailing list