[clang] [llvm] [TLI] Add support for reallocarray (PR #114818)

via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 04:02:41 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:

I grepped the whole sdk (for PS4 though). Plenty of mention to `realloc` and none to `reallocarray`

https://github.com/llvm/llvm-project/pull/114818


More information about the cfe-commits mailing list