[llvm] [BOLT][AArch64] Handle IFUNCS properly (PR #71104)

via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 2 13:32:22 PDT 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 29fd9bab2c9d04b90def77151961c02c940b15bb 81fa46dab9bf840e8ef9d4b544ee7f56fabfdde6 -- bolt/test/AArch64/ifunc.c bolt/include/bolt/Core/Relocation.h bolt/lib/Rewrite/RewriteInstance.cpp bolt/test/runtime/iplt.c
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/test/AArch64/ifunc.c b/bolt/test/AArch64/ifunc.c
index 6b3a5180463c..dea2cf6bd543 100644
--- a/bolt/test/AArch64/ifunc.c
+++ b/bolt/test/AArch64/ifunc.c
@@ -37,6 +37,4 @@ static void *resolver_foo(void) { return foo; }
 
 __attribute__((ifunc("resolver_foo"))) void ifoo();
 
-void _start() {
-  ifoo();
-}
+void _start() { ifoo(); }

``````````

</details>


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


More information about the llvm-commits mailing list