[llvm] [InstrProf]Merge vtable names from multiple sources in llvm-profdata (PR #90100)

via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 25 11:16:28 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 41e8a9b1b2010b8111a0488a03b057cb8e33a199 b95cc9b658f71e4390a4c4f852994a19b34ba1e8 -- llvm/lib/ProfileData/InstrProfWriter.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/ProfileData/InstrProfWriter.cpp b/llvm/lib/ProfileData/InstrProfWriter.cpp
index a8d770ff57..4594a496be 100644
--- a/llvm/lib/ProfileData/InstrProfWriter.cpp
+++ b/llvm/lib/ProfileData/InstrProfWriter.cpp
@@ -367,7 +367,7 @@ void InstrProfWriter::mergeRecordsFromWriter(InstrProfWriter &&IPW,
   for (auto &I : IPW.BinaryIds)
     addBinaryIds(I);
 
-  for (auto& kv: IPW.VTableNames)
+  for (auto &kv : IPW.VTableNames)
     addVTableName(kv.getKey());
 
   addTemporalProfileTraces(IPW.TemporalProfTraces,

``````````

</details>


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


More information about the llvm-commits mailing list