[llvm] [BOLT][DWARF][NFC] Move common access outside of parallel function (PR #99728)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 23 14:19:44 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 d19e71db8a3de65de5da5d5bc4e1f9c1020c574c 9baebd45cc649dda87636f15a8aa6f19cd6b80d6 --extensions cpp -- bolt/lib/Rewrite/DWARFRewriter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Rewrite/DWARFRewriter.cpp b/bolt/lib/Rewrite/DWARFRewriter.cpp
index 1ae1aef56e..674b5f17ad 100644
--- a/bolt/lib/Rewrite/DWARFRewriter.cpp
+++ b/bolt/lib/Rewrite/DWARFRewriter.cpp
@@ -755,8 +755,8 @@ void DWARFRewriter::updateDebugInfo() {
opts::DwarfOutputPath.empty()
? std::nullopt
: std::optional<std::string>(opts::DwarfOutputPath.c_str());
- std::string DWOName = DIEBlder.updateDWONameCompDir(*StrOffstsWriter, *StrWriter, *CU,
- DwarfOutputPath, std::nullopt);
+ std::string DWOName = DIEBlder.updateDWONameCompDir(
+ *StrOffstsWriter, *StrWriter, *CU, DwarfOutputPath, std::nullopt);
processSplitCU(*CU, **SplitCU, DIEBlder, *TempRangesSectionWriter,
AddressWriter, DWOName, DwarfOutputPath);
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/99728
More information about the llvm-commits
mailing list