[llvm] [SystemZ] [z/OS] Emit offset to PPA2 in separate MCSection (PR #84043)

via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 5 09:11:05 PST 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 a8cb9db5f59dc97c9b3d0370a5879539e7b233d8 84e116e9aea2fce735847ab3a6e88a34544e1087 -- llvm/include/llvm/MC/MCObjectFileInfo.h llvm/lib/MC/MCObjectFileInfo.cpp llvm/lib/Target/SystemZ/SystemZAsmPrinter.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/MC/MCObjectFileInfo.cpp b/llvm/lib/MC/MCObjectFileInfo.cpp
index 1f8f8ec557..f91fd281e3 100644
--- a/llvm/lib/MC/MCObjectFileInfo.cpp
+++ b/llvm/lib/MC/MCObjectFileInfo.cpp
@@ -555,9 +555,8 @@ void MCObjectFileInfo::initGOFFMCObjectFileInfo(const Triple &T) {
       Ctx->getGOFFSection(".ppa2", SectionKind::getMetadata(), TextSection,
                           MCConstantExpr::create(GOFF::SK_PPA2, *Ctx));
 
-  PPA2ListSection =
-      Ctx->getGOFFSection(".ppa2list", SectionKind::getData(),
-                          nullptr, nullptr);
+  PPA2ListSection = Ctx->getGOFFSection(".ppa2list", SectionKind::getData(),
+                                        nullptr, nullptr);
 
   ADASection =
       Ctx->getGOFFSection(".ada", SectionKind::getData(), nullptr, nullptr);

``````````

</details>


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


More information about the llvm-commits mailing list