[lld] [LLD][ELF] Fix SHF_MERGE misalignment when spilled (PR #119289)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 9 15:43:49 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 a9aff440d9dde3a636a4ccff3d5f7eaf25836c34 2f4b8f5d5b5ff66bb1bcec1d0fa5417abc354ba7 --extensions cpp -- lld/ELF/OutputSections.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 5e77eeb1ed..8d63ba5496 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -249,7 +249,6 @@ void OutputSection::finalizeInputSections() {
// catch misuses.
isd->sectionBases.clear();
-
// Some input sections may be removed from the list after ICF.
for (InputSection *s : isd->sections)
commitSection(s);
``````````
</details>
https://github.com/llvm/llvm-project/pull/119289
More information about the llvm-commits
mailing list