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

Kuba Brecka via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 20 11:19:22 PDT 2016


kubabrecka added inline comments.

================
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
----------------
m.ostapenko wrote:
> Do we need to check if the target supports "-fprotector" ?
AFAIK it should be available in all ASan-supported targets.


http://reviews.llvm.org/D21509





More information about the llvm-commits mailing list