[clang] [llvm] [llvm][clang] Allocate a new stack instead of spawning a new thread to get more stack space (PR #133173)
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 26 16:15:55 PDT 2025
================
@@ -52,6 +56,7 @@ else()
check_include_file(mach/mach.h HAVE_MACH_MACH_H)
check_include_file(malloc/malloc.h HAVE_MALLOC_MALLOC_H)
check_include_file(pthread.h HAVE_PTHREAD_H)
+ check_include_file(sys/resource.h HAVE_SYS_RESOURCE_H)
----------------
rnk wrote:
Do we need this? We already unconditionally include `sys/resource.h` from llvm/Support/Unix/Program.inc. IMO it would be better to do `#ifndef _WIN32` than the config check, which slows down configuration and complicates the build system, and has to be ported over to downstream build systems like gn and Bazel.
https://github.com/llvm/llvm-project/pull/133173
More information about the llvm-commits
mailing list