[llvm] [CodeGen] Port `StackProtector` to new pass manager (PR #75334)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 21 00:20:53 PST 2023


================
@@ -57,26 +109,14 @@ class StackProtector : public FunctionPass {
 
   /// The minimum size of buffers that will receive stack smashing
   /// protection when -fstack-protection is used.
-  unsigned SSPBufferSize = DefaultSSPBufferSize;
+  unsigned SSPBufferSize = SSPLayoutInfo::DefaultSSPBufferSize;
 
   // A prologue is generated.
   bool HasPrologue = false;
 
   // IR checking code is generated.
   bool HasIRCheck = false;
----------------
arsenm wrote:

These fields look like they were moved to a new location, but not removed from the old one?

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


More information about the llvm-commits mailing list