[clang] [llvm] [clang-cl] Use MSVC's "GS buffer" heuristic for the default /GS (PR #225626)
Pan Tao via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 22 01:35:37 PST 2026
PanTao2 wrote:
Thanks, @kubamracek, and thank you for taking the time to review this. I'm glad we're in agreement on how to proceed.
That makes sense about a possible third value on !stack-protector. I think it's fine to leave that open and revisit it if it turns out to matter for inlining, LTO or mixed settings across TUs. The current LangRef text keeps 0 as the opt-out and 1 as "requires a protector", and says any other non-zero value is read as 1, so a new value could be added later without breaking existing IR.
https://github.com/llvm/llvm-project/pull/225626
More information about the cfe-commits
mailing list