PanTao2 wrote: @nikic Thanks, that makes sense. I've changed !stack-protector so that 1 only means "this alloca requires a protector" (0 is still the opt-out), and moved the small/large class into a separate !stack-protector.layout metadata. It only decides how an alloca is laid out if it ends up protected, so it composes with the backend heuristics, and there's a new test showing it changing the layout under plain sspstrong. An alloca forced to be protected without layout metadata is laid out by its size. Please let me know if this matches what you had in mind. @zmodem Thanks for taking another look at the release note, and for the lgtm. I appreciate it.
https://github.com/llvm/llvm-project/pull/225626 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
