[llvm] [MC][ELF] Eliminate some hash maps from ELFObjectWriter (PR #97421)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 3 02:31:15 PDT 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 54f040fff301a629f2ed032863408ed119789b0e e940d6adced09129440a3e0b488e69cc3832705d -- llvm/include/llvm/MC/MCSectionELF.h llvm/lib/MC/ELFObjectWriter.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp
index 22179af534..5cba6eb15b 100644
--- a/llvm/lib/MC/ELFObjectWriter.cpp
+++ b/llvm/lib/MC/ELFObjectWriter.cpp
@@ -176,8 +176,7 @@ public:
   ///
   /// \param Asm - The assembler.
   /// \param RevGroupMap - Maps a signature symbol to the group section.
-  void computeSymbolTable(MCAssembler &Asm,
-                          const RevGroupMapTy &RevGroupMap);
+  void computeSymbolTable(MCAssembler &Asm, const RevGroupMapTy &RevGroupMap);
 
   void writeAddrsigSection();
 

``````````

</details>


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


More information about the llvm-commits mailing list