[llvm-branch-commits] [lld] [ELF] Emit synthetic local in symbol table for non-preemptible IFUNC (PR #210616)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sun Jul 19 09:35:47 PDT 2026
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 origin/main HEAD --extensions cpp,h -- lld/ELF/Relocations.cpp lld/ELF/SyntheticSections.cpp lld/ELF/SyntheticSections.h --diff_from_common_commit
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index 3cceb86b9..b7a8e8216 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -1325,8 +1325,7 @@ template <typename ELFT> void writeEhdr(Ctx &, uint8_t *buf);
template <typename ELFT> void writePhdrs(Ctx &, uint8_t *buf);
Defined *addSyntheticLocal(Ctx &ctx, StringRef name, uint8_t type,
- uint64_t value, uint64_t size,
- SectionBase §ion);
+ uint64_t value, uint64_t size, SectionBase §ion);
void addVerneed(Ctx &, Symbol &ss);
``````````
</details>
https://github.com/llvm/llvm-project/pull/210616
More information about the llvm-branch-commits
mailing list