llvm-project
708a478d - [RISCV] Add stack clash protection (#117612)

Commit
330 days ago
[RISCV] Add stack clash protection (#117612) Enable `-fstack-clash-protection` for RISCV and stack probe for function prologues. We probe the stack by creating a loop that allocates and probe the stack in ProbeSize chunks. We emit an unrolled probe loop for small allocations and emit a variable length probe loop for bigger ones.
Author
Parents
Loading