[asan] Add new hidden compile-time flag asan-instrument-allocas to sanitize variable...
authorYury Gribov <y.gribov@samsung.com>
Fri, 21 Nov 2014 10:29:50 +0000 (10:29 +0000)
committerYury Gribov <y.gribov@samsung.com>
Fri, 21 Nov 2014 10:29:50 +0000 (10:29 +0000)
commit55441bb601b8605b9dfcdb1fe5976a3dc3a20b6c
tree0cc7c1b783bc68b6c83c70fd794b9a36b810b7d4
parent7495dc76e884e05dae93a50035d24e4a3f9efde3
[asan] Add new hidden compile-time flag asan-instrument-allocas to sanitize variable-sized dynamic allocas. Patch by Max Ostapenko.

Reviewed at http://reviews.llvm.org/D6055

llvm-svn: 222519
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll [new file with mode: 0644]