[llvm] [BOLT][DWARF][NFC] Refactor GDB Index into a new file (PR #94405)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 5 09:40:04 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 842333750288a033cd7c4ca0c132d38a1982c187 a2c2121de6cbb6e3dc4bf8fb7cd5e66af0f8eaca -- bolt/include/bolt/Core/GDBIndex.h bolt/lib/Core/GDBIndex.cpp
``````````

</details>

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

``````````diff
diff --git a/bolt/include/bolt/Core/GDBIndex.h b/bolt/include/bolt/Core/GDBIndex.h
index 9d88b7b11b..242a1fa6dd 100644
--- a/bolt/include/bolt/Core/GDBIndex.h
+++ b/bolt/include/bolt/Core/GDBIndex.h
@@ -39,9 +39,9 @@ private:
 
 public:
   GDBIndex(BinaryContext &BC) : BC(BC) {}
-  
+
   std::mutex DWARFRewriterMutex;
-  
+
   /// Adds an GDBIndexTUEntry if .gdb_index section exists.
   void addGDBTypeUnitEntry(const GDBIndexTUEntry &Entry);
 

``````````

</details>


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


More information about the llvm-commits mailing list