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

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 4 08:05:24 PST 2024


================
@@ -318,6 +318,7 @@ TEST_F(TargetLibraryInfoTest, ValidProto) {
       "declare void @qsort(i8*, i64, i64, i32 (i8*, i8*)*)\n"
       "declare i64 @readlink(i8*, i8*, i64)\n"
       "declare i8* @realloc(i8*, i64)\n"
+      "declare i8* @reallocarray(i8*, i64, i64)\n"
----------------
arsenm wrote:

This test should be converted to opaque pointers 

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


More information about the cfe-commits mailing list