[llvm] [JITLink][XCOFF] Setup initial build support for XCOFF (PR #127266)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 14 13:48:41 PST 2025
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 4b3c6443a12e4871692429329a093af93222cb57 470d5a7f140a0de22c16c27b7284b7fedb288ff8 --extensions cpp,h -- llvm/include/llvm/ExecutionEngine/JITLink/XCOFF.h llvm/include/llvm/ExecutionEngine/JITLink/XCOFF_ppc64.h llvm/lib/ExecutionEngine/JITLink/XCOFF.cpp llvm/lib/ExecutionEngine/JITLink/XCOFF_ppc64.cpp llvm/lib/ExecutionEngine/JITLink/JITLink.cpp llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp b/llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
index cea03fcd34..4f01c01da4 100644
--- a/llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/LoadLinkableFile.cpp
@@ -25,10 +25,9 @@ checkCOFFRelocatableObject(std::unique_ptr<MemoryBuffer> Obj,
return std::move(Obj);
}
-
static Expected<std::unique_ptr<MemoryBuffer>>
checkXCOFFRelocatableObject(std::unique_ptr<MemoryBuffer> Obj,
- const Triple &TT) {
+ const Triple &TT) {
// TODO: Actually check the architecture of the file.
return std::move(Obj);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/127266
More information about the llvm-commits
mailing list