[compiler-rt] [profile] Use base+vaddr for `__llvm_write_binary_ids` note pointers (PR #114907)

via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 16:27:18 PST 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 53a6a11e0d51229d341b8906252645cd8a5de796 818715b0ce1ab3c0e1380895f4b9f146aa647601 --extensions c -- compiler-rt/test/profile/Linux/binary-id-offset.c compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/test/profile/Linux/binary-id-offset.c b/compiler-rt/test/profile/Linux/binary-id-offset.c
index a613b1bd1f..c66fe82d71 100644
--- a/compiler-rt/test/profile/Linux/binary-id-offset.c
+++ b/compiler-rt/test/profile/Linux/binary-id-offset.c
@@ -30,6 +30,4 @@
 // CHECK-LABEL{LITERAL}: Binary IDs:
 // CHECK-NEXT: [[ID]]
 
-int main() {
-  return 0;
-}
+int main() { return 0; }

``````````

</details>


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


More information about the llvm-commits mailing list