[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)
commit432ade7da6d03fca0a8b72dd4cb0dcd10a0db05b
treed824088ec59070a7b21b8a6344c02136106def3d
parent3bc8b4b38b32ecf6c012c5168e57f422ab428863
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222519 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp
test/Instrumentation/AddressSanitizer/instrument-dynamic-allocas.ll [new file with mode: 0644]