[llvm] [ThinLTO] Don't mark calloc function dead (PR #72673)

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 27 06:52:27 PST 2023


================
@@ -1344,6 +1344,7 @@ static const char *libcallRoutineNames[] = {
 #define HANDLE_LIBCALL(code, name) name,
 #include "llvm/IR/RuntimeLibcalls.def"
 #undef HANDLE_LIBCALL
+    "calloc",
----------------
teresajohnson wrote:

Can we just add calloc into RuntimeLibcalls.def?

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


More information about the llvm-commits mailing list