[lld] [lld][ELF] Add /PASSTHRU/. #65087 (PR #84287)

via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 7 00:36:10 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 91808c845fd6f0624525b6d6348b2c284628ce58 7fa5029e82893308723ce5cbd31abb781f145b5a -- lld/ELF/InputSection.cpp lld/ELF/InputSection.h lld/ELF/LinkerScript.cpp
``````````

</details>

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

``````````diff
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index bbeb3d8158..13637c6daf 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -630,7 +630,6 @@ void LinkerScript::processSectionCommands() {
       return false;
     }
 
-
     // This is for ONLY_IF_RO and ONLY_IF_RW. An output section directive
     // ".foo : ONLY_IF_R[OW] { ... }" is handled only if all member input
     // sections satisfy a given constraint. If not, a directive is handled

``````````

</details>


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


More information about the llvm-commits mailing list