[llvm] Reduce llvm-gsymutil memory usage (lambda-free, and less locking) (PR #97640)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 25 11:43:36 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 0f521931b85e6b5f798af357cf32a7ae782a848d 68c93087954a04116592fe7f44b8547e789a149c --extensions cpp,h -- llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h llvm/include/llvm/MC/MCObjectFileInfo.h llvm/lib/DWP/DWP.cpp llvm/lib/DebugInfo/DWARF/DWARFFormValue.cpp llvm/lib/DebugInfo/DWARF/DWARFUnit.cpp llvm/lib/DebugInfo/GSYM/DwarfTransformer.cpp llvm/lib/MC/MCObjectFileInfo.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h
index 6c12b27dba..173d782828 100644
--- a/llvm/include/llvm/MC/MCObjectFileInfo.h
+++ b/llvm/include/llvm/MC/MCObjectFileInfo.h
@@ -187,7 +187,8 @@ protected:
MCSection *MergeableConst32Section = nullptr;
// facebook begin T169912720
- /// A flag indicating whether the debug info has unique 32-bit offsets for strings
+ /// A flag indicating whether the debug info has unique 32-bit offsets for
+ /// strings
MCSection *MetaInfoSection = nullptr;
// facebook end T169912720
@@ -331,7 +332,7 @@ public:
// facebook begin T169912720
MCSection *getMetaInfoSection() const { return MetaInfoSection; }
- // facebook end T169912720
+ // facebook end T169912720
MCSection *getDwarfRnglistsDWOSection() const {
return DwarfRnglistsDWOSection;
``````````
</details>
https://github.com/llvm/llvm-project/pull/97640
More information about the llvm-commits
mailing list