Improve stack probing for Linux/arm64
authorBruce Forstall <brucefo@microsoft.com>
Tue, 30 Apr 2019 01:36:59 +0000 (18:36 -0700)
committerBruce Forstall <brucefo@microsoft.com>
Fri, 17 May 2019 21:54:20 +0000 (14:54 -0700)
commit54f021fbb5a6b2ff12733d7321a491dcd63aa502
tree4dec159bc5016334590514b4ca9a02f45165293c
parente03923c09ea8e2eaf32d69bee4f4f7486b7d6a51
Improve stack probing for Linux/arm64

Avoid the case where we miss touching a page with a large
outgoing argument space plus a callee large local frame
size.

Add asserts that prolog SP adjustments before a stack touch
don't exceed the threshold we allow. This ensures that a
stack touch on the caller will be sufficient for the callee.

Fixes #23821
src/jit/codegenarm64.cpp
src/jit/codegenarmarch.cpp
src/jit/codegencommon.cpp
src/jit/target.h