[clang] [llvm] [RISCV] Add stack clash protection (PR #117612)

Raphael Moreira Zinsly via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 10:08:52 PST 2024


================
@@ -157,6 +159,9 @@ class RISCVMachineFunctionInfo : public MachineFunctionInfo {
 
   bool isVectorCall() const { return IsVectorCall; }
   void setIsVectorCall() { IsVectorCall = true; }
+
+  bool hasStackProbing() const { return StackProbeSize != 0; }
----------------
rzinsly wrote:

Yes, I removed them now.

https://github.com/llvm/llvm-project/pull/117612


More information about the cfe-commits mailing list