[compiler-rt] [llvm] [llvm-profdata] Fix binary ids with multiple raw profiles in a single… (PR #72740)

via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 21:07:06 PST 2023


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 2b71f91b06ad4f5a0c54725b06283fd731620b92 d60a7095b3c780a019200c609ee103767436438c -- compiler-rt/test/profile/Linux/binary-id.c llvm/include/llvm/ProfileData/InstrProfReader.h llvm/lib/ProfileData/InstrProfReader.cpp
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/profile/Linux/binary-id.c b/compiler-rt/test/profile/Linux/binary-id.c
index e04b23072a..c89a058608 100644
--- a/compiler-rt/test/profile/Linux/binary-id.c
+++ b/compiler-rt/test/profile/Linux/binary-id.c
@@ -31,7 +31,7 @@
 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
 // RUN: FileCheck %s --check-prefix=BINARY-ID-SHARE-RAW-PROF < %t.profraw.out
 
-// RUN: llvm-profdata merge -o %t.profdata %t.profraw 
+// RUN: llvm-profdata merge -o %t.profdata %t.profraw
 // RUN: llvm-profdata show --binary-ids %t.profdata > %t.profdata.out
 // RUN: FileCheck %s --check-prefix=BINARY-ID-SHARE-INDEXED-PROF < %t.profraw.out
 

``````````

</details>


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


More information about the llvm-commits mailing list