[PATCH] D15002: [safestack] Fix handling of array allocas.

Evgeniy Stepanov via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 17:08:34 PST 2015


eugenis added inline comments.

================
Comment at: lib/Transforms/Instrumentation/SafeStack.cpp:187
@@ +186,3 @@
+  if (AI->isArrayAllocation()) {
+    auto C = dyn_cast<ConstantInt>(AI->getArraySize());
+    if (!C)
----------------
Right. Returning 0 for unknown size allocas.


Repository:
  rL LLVM

http://reviews.llvm.org/D15002





More information about the llvm-commits mailing list