[clang] [llvm] [TLI] Add support for reallocarray (PR #114818)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 8 08:59:27 PST 2024
================
@@ -3224,6 +3224,13 @@ def AllocA : GNULibBuiltin<"stdlib.h"> {
let AddBuiltinPrefixedAlias = 1;
}
+// Available in glibc by default since since 2.29 and in GNU mode before.
+def ReallocArray : GNULibBuiltin<"stdlib.h"> {
----------------
arsenm wrote:
The clang builtin change should be separate, and is not tested
https://github.com/llvm/llvm-project/pull/114818
More information about the cfe-commits
mailing list