[compiler-rt] [AIX][PGO] Handle atexit functions when dlclose'ing shared libraries (PR #102940)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 12 10:43:01 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 a0c57a0f3c6b44ce8f2c7222d0932df85883cf06 9207d3dcc60e04ee979c3a311a6736e515a10ce9 --extensions c,h -- compiler-rt/test/profile/instrprof-fork.c compiler-rt/lib/profile/GCDAProfiling.c compiler-rt/lib/profile/InstrProfilingFile.c compiler-rt/lib/profile/InstrProfilingUtil.c compiler-rt/lib/profile/InstrProfilingUtil.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/compiler-rt/test/profile/instrprof-fork.c b/compiler-rt/test/profile/instrprof-fork.c
index 8b2bdd056a..8913087bd0 100644
--- a/compiler-rt/test/profile/instrprof-fork.c
+++ b/compiler-rt/test/profile/instrprof-fork.c
@@ -27,4 +27,4 @@ int main(void) { // child | parent
if (pid) // ------------+------------
wait(&status); // 2 1 | 2 0
return 0; // (*) the child inherits counter values prior to fork
-} // from the parent in non-continuous mode.
+} // from the parent in non-continuous mode.
``````````
</details>
https://github.com/llvm/llvm-project/pull/102940
More information about the llvm-commits
mailing list