[llvm] Reduce llvm-gsymutil memory usage (PR #140740)
via llvm-commits
llvm-commits at lists.llvm.org
Tue May 20 07:47:01 PDT 2025
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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/DebugInfo/DWARF/DWARFContext.h llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h llvm/lib/DebugInfo/DWARF/DWARFContext.cpp llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
index 9e45c1183..d33134a56 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFContext.cpp
@@ -626,9 +626,7 @@ public:
return Work();
}
- void doVoidWorkThreadSafely(function_ref<void()> Work) override {
- Work();
- }
+ void doVoidWorkThreadSafely(function_ref<void()> Work) override { Work(); }
};
class ThreadSafeState : public ThreadUnsafeDWARFContextState {
``````````
</details>
https://github.com/llvm/llvm-project/pull/140740
More information about the llvm-commits
mailing list