[llvm] [ThinLTO] Don't mark calloc function dead (PR #72673)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 23 09:07:07 PST 2023
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 906f59826344504dd516cce44e0ba13e25c933f7 f1628d158136402bf5a4bfc3915c23118da68a7c -- llvm/lib/LTO/LTO.cpp llvm/lib/Object/IRSymtab.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index cd104cb4f1..e5d72cfc4c 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -1344,7 +1344,7 @@ static const char *libcallRoutineNames[] = {
#define HANDLE_LIBCALL(code, name) name,
#include "llvm/IR/RuntimeLibcalls.def"
#undef HANDLE_LIBCALL
- "calloc",
+ "calloc",
};
ArrayRef<const char*> LTO::getRuntimeLibcallSymbols() {
``````````
</details>
https://github.com/llvm/llvm-project/pull/72673
More information about the llvm-commits
mailing list