[PATCH] D43108: Support for the mno-stack-arg-probe flag
Ruslan Nikolaev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 20:10:24 PST 2018
nruslan added a comment.
@aemerson : I am not 100% sure, but I think you are talking about different flag. This commit is for supporting a flag to disable stack probes (identical flag can be found in MinGW), it basically only applies to PE/COFF (Windows) targets. It can be useful to compile UEFI code. By default, Windows will use check probes of 4K in x86. A related stack-probe-size allows to vary the size of stack probes. This one completely disables them.
By default, stack probes are enabled (i.e., -mstack-arg-probe is the default behavior) and have the size of 4K in x86.
Repository:
rC Clang
https://reviews.llvm.org/D43108
More information about the cfe-commits
mailing list