[llvm-dev] X86TargetLowering::EmitLoweredProbedAlloca() (original) (raw)

Jonas Paulsson via llvm-dev llvm-dev at lists.llvm.org
Fri May 1 00:59:42 PDT 2020


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



More information about the llvm-dev mailing list