[llvm] [JITLink][AArch32] Multi-stub support for armv7/thumbv7 (PR #78371)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 19 09:36:49 PST 2024
Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/78371 at github.com>
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 01ba627f431c3622a973c1cb5a593c101021f805 8ecdaf59cbddbeec3ff0bc839fa4e2cf2e79583a -- llvm/include/llvm/ExecutionEngine/JITLink/aarch32.h llvm/include/llvm/ExecutionEngine/RuntimeDyldChecker.h llvm/lib/ExecutionEngine/JITLink/aarch32.cpp llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h llvm/tools/llvm-jitlink/llvm-jitlink-elf.cpp llvm/tools/llvm-jitlink/llvm-jitlink.cpp llvm/tools/llvm-jitlink/llvm-jitlink.h llvm/tools/llvm-rtdyld/llvm-rtdyld.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
index 48dcd3c5c9..c055410881 100644
--- a/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
+++ b/llvm/tools/llvm-jitlink/llvm-jitlink.cpp
@@ -1267,10 +1267,10 @@ Session::findSectionInfo(StringRef FileName, StringRef SectionName) {
class MemoryMatcher {
public:
- MemoryMatcher(ArrayRef<char> Content) : Pos(Content.data()), End(Pos + Content.size()) {}
+ MemoryMatcher(ArrayRef<char> Content)
+ : Pos(Content.data()), End(Pos + Content.size()) {}
- template <typename MaskType>
- bool matchMask(MaskType Mask) {
+ template <typename MaskType> bool matchMask(MaskType Mask) {
if (Mask == (Mask & *reinterpret_cast<const MaskType *>(Pos))) {
Pos += sizeof(MaskType);
return true;
@@ -1278,8 +1278,7 @@ public:
return false;
}
- template <typename ValueType>
- bool matchEqual(ValueType Value) {
+ template <typename ValueType> bool matchEqual(ValueType Value) {
if (Value == *reinterpret_cast<const ValueType *>(Pos)) {
Pos += sizeof(ValueType);
return true;
``````````
</details>
https://github.com/llvm/llvm-project/pull/78371
More information about the llvm-commits
mailing list