[libc-commits] [libc] [llvm] [libc] Moves __cxa_thread_atexit_impl into proper entrypoint (PR #229347)

via libc-commits libc-commits at lists.llvm.org
Fri Oct 9 08:55:11 PDT 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {cmake-format}-->


:warning: CMake code formatter, cmake-format found issues in your code. :warning:

<details>
<summary>
You can fix this locally with the following command:
</summary>

``````````bash
python3 libc/utils/cmake_format.py -i libc/src/stdlib/CMakeLists.txt libc/test/integration/src/__support/threads/CMakeLists.txt libc/test/integration/src/pthread/CMakeLists.txt libc/test/integration/src/stdlib/CMakeLists.txt libc/test/integration/src/threads/CMakeLists.txt
``````````

You can also preview the formatting diff without modifying files:

``````````bash
python3 libc/utils/cmake_format.py --dry-run --diff libc/src/stdlib/CMakeLists.txt libc/test/integration/src/__support/threads/CMakeLists.txt libc/test/integration/src/pthread/CMakeLists.txt libc/test/integration/src/stdlib/CMakeLists.txt libc/test/integration/src/threads/CMakeLists.txt
``````````

</details>

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

``````````diff
--- a/libc/test/integration/src/stdlib/CMakeLists.txt
+++ b/libc/test/integration/src/stdlib/CMakeLists.txt
@@ -96,15 +96,15 @@
       libc.src.unistd.write
   )
   add_integration_test(
-  atexit_thread_test
-  SUITE
-    stdlib-integration-tests
-  SRCS
-    atexit_thread_test.cpp
-  DEPENDS
-    libc.src.pthread.pthread_create
-    libc.src.pthread.pthread_exit
-    libc.src.pthread.pthread_join
-    libc.src.stdlib.__cxa_thread_atexit_impl
-)
+    atexit_thread_test
+    SUITE
+      stdlib-integration-tests
+    SRCS
+      atexit_thread_test.cpp
+    DEPENDS
+      libc.src.pthread.pthread_create
+      libc.src.pthread.pthread_exit
+      libc.src.pthread.pthread_join
+      libc.src.stdlib.__cxa_thread_atexit_impl
+  )
 endif()

``````````

</details>


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


More information about the libc-commits mailing list