X86TargetLowering::EmitLoweredProbedAlloca()

Hi,

I am working on implementing stack clash protection for SystemZ (https://reviews.llvm.org/D78717), and have been studying how X86 does this. Looking at the implementation of EmitLoweredProbedAlloca(), it seems that the 'tail' is not probed. Doesn't this mean that multiple small dynamic allocas could result in advancing the stack pointer past the guard page?

/Jonas

Yes.

-Eli