[llvm] Set correct stack reserve when built by Clang on Windows (PR #221263)

Tomohiro Kashiwada via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 06:26:18 PDT 2026


kikairoya wrote:

I'm not sure if this patch is correct because it changes the LLD-ed MinGW build (`if (_WIN32)` catches MinGW too).

What is your exact CMake configuration? For windows-msvc target with gcc-style command (not `clang-cl` but `clang++`), you might need to use `if (MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")`. see: https://gitlab.kitware.com/cmake/cmake/-/issues/19724


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


More information about the llvm-commits mailing list