[llvm-branch-commits] [llvm] [BOLT] Add pseudo probe inline tree to YAML profile (PR #107137)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Sep 9 21:37: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 90d0d4888954f7642b6d0b84b09088150347a444 21a52dd8627325f31f4bc9455b15f2f79a3e896e --extensions h,cpp -- bolt/include/bolt/Profile/ProfileYAMLMapping.h bolt/include/bolt/Profile/YAMLProfileWriter.h bolt/lib/Profile/DataAggregator.cpp bolt/lib/Profile/YAMLProfileWriter.cpp llvm/include/llvm/MC/MCPseudoProbe.h
``````````

</details>

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

``````````diff
diff --git a/bolt/lib/Profile/YAMLProfileWriter.cpp b/bolt/lib/Profile/YAMLProfileWriter.cpp
index 70e5e09e29..f2609de18c 100644
--- a/bolt/lib/Profile/YAMLProfileWriter.cpp
+++ b/bolt/lib/Profile/YAMLProfileWriter.cpp
@@ -90,7 +90,7 @@ YAMLProfileWriter::convertPseudoProbeDesc(const MCPseudoProbeDecoder &Decoder) {
   InlineTreeDesc InlineTree;
 
   for (const MCDecodedPseudoProbeInlineTree &TopLev :
-      Decoder.getDummyInlineRoot().getChildren())
+       Decoder.getDummyInlineRoot().getChildren())
     InlineTree.TopLevelGUIDToInlineTree[TopLev.Guid] = &TopLev;
 
   for (const auto &FuncDesc : Decoder.getGUID2FuncDescMap())

``````````

</details>


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


More information about the llvm-branch-commits mailing list