[lld] [LLD][ELF][AArch64] Add BTI Aware long branch thunks (PR #108989)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 30 09:10:14 PDT 2024
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 f9fbfc587d793b25e5f3ea0c8fa1db949085b158 99a1ae4e30fdf16907bb752df28669b42fa173a4 --extensions cpp,h -- lld/ELF/Arch/AArch64.cpp lld/ELF/Relocations.cpp lld/ELF/Relocations.h lld/ELF/Target.h lld/ELF/Thunks.cpp lld/ELF/Thunks.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/ELF/Thunks.h b/lld/ELF/Thunks.h
index f5be7009f8..3929aa0aee 100644
--- a/lld/ELF/Thunks.h
+++ b/lld/ELF/Thunks.h
@@ -81,7 +81,7 @@ Thunk *addThunk(Ctx &, const InputSection &isec, Relocation &rel);
// Create a landing pad Thunk for use when indirect branches from Thunks
// are restricted.
Thunk *addLandingPadThunk(Ctx &, Symbol &s, int64_t a);
-
+
void writePPC32PltCallStub(Ctx &, uint8_t *buf, uint64_t gotPltVA,
const InputFile *file, int64_t addend);
void writePPC64LoadAndBranch(uint8_t *buf, int64_t offset);
``````````
</details>
https://github.com/llvm/llvm-project/pull/108989
More information about the llvm-commits
mailing list