The LLVM stack probe space (e.g. used for issuing chkstk() calls when compiling to Windows targets) is hard coded to 4096 bytes. However, in order to suppress chkstk() calls, it should be possible to specify a minimum value for issuing stack probe calls that is greater than 4096 bytes.
This code makes the number of bytes that variables can occupy before a stack probe is initiated configurable.
This should fix http://llvm.org/bugs/show_bug.cgi?id=21895
Can this be a range-based for loop?