[PATCH] D21509: [asan] fix false dynamic-stack-buffer-overflow report with constantly-sized dynamic allocas

Maxim Ostapenko via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 11:11:11 PDT 2016


m.ostapenko added a comment.

The change looks sane to me (not sure I can push LGTM button though), just a little nit below.


================
Comment at: projects/compiler-rt/test/asan/TestCases/alloca_constant_size.cc:3
@@ +2,3 @@
+
+// RUN: %clangxx_asan -O0 %s -o %t -fstack-protector
+// RUN: %run %t 2>&1 | FileCheck %s
----------------
Do we need to check if the target supports "-fprotector" ?


http://reviews.llvm.org/D21509





More information about the llvm-commits mailing list