================
@@ -460,66 +435,31 @@ bool SSPLayoutAnalysis::requiresStackProtector(Function 
*F,
           if (CI->isZero())
             continue;
         }
-        if (AI->isArrayAllocation()) {
----------------
vtjnash wrote:

I assume you meant VLA (variable length array), not alloca (which don't have an 
element type). Yes, the clang side can easily be changed to add that heuristic.

https://github.com/llvm/llvm-project/pull/183623
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to