[libc-commits] [libc] [libc] Derive the default thread stack size from RLIMIT_STACK (PR #244571)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Fri Nov 20 12:52:04 PST 2026


================
@@ -207,6 +208,10 @@ static TLSDescriptor tls;
 
   get_tcb(tls.tp)->attrib = &main_thread_attrib;
 
+  // This needs to happen before the init array callbacks, as global
----------------
michaelrj-google wrote:

given this would it be useful to add a test that uses a global constructor to confirm that the ordering is what you intended?

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


More information about the libc-commits mailing list