We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bd867 commit 517934aCopy full SHA for 517934a
libc/src/stdlib/CMakeLists.txt
@@ -631,7 +631,6 @@ add_entrypoint_object(
631
HDRS
632
exit.h
633
DEPENDS
634
- libc.src.__support.threads.thread
635
${exit_deps}
636
)
637
libc/src/stdlib/exit.cpp
@@ -14,7 +14,7 @@
14
namespace LIBC_NAMESPACE_DECL {
15
16
extern "C" void __cxa_finalize(void *);
17
-extern "C" void __cxa_thread_finalize();
+extern "C" [[gnu::weak]] void __cxa_thread_finalize();
18
19
// TODO: use recursive mutex to protect this routine.
20
[[noreturn]] LLVM_LIBC_FUNCTION(void, exit, (int status)) {
0 commit comments