Files
clang-p2996/llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.cpp
Raphael Moreira Zinsly 708a478d67 [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.
2024-12-10 16:48:26 +00:00

2.8 KiB