[asan] Runtime support for asan-instrument-allocas which enables instrumentation...
authorYury Gribov <y.gribov@samsung.com>
Fri, 21 Nov 2014 10:32:05 +0000 (10:32 +0000)
committerYury Gribov <y.gribov@samsung.com>
Fri, 21 Nov 2014 10:32:05 +0000 (10:32 +0000)
commit30a990744b777c4d8414df452e5800cd1d67f352
tree0d8455a57f2ac3f5675a73b564905136d2bd68b1
parent55441bb601b8605b9dfcdb1fe5976a3dc3a20b6c
[asan] Runtime support for asan-instrument-allocas which enables instrumentation of variable-sized dynamic allocas. Patch by Max Ostapenko.

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

llvm-svn: 222520
compiler-rt/lib/asan/asan_internal.h
compiler-rt/lib/asan/asan_report.cc
compiler-rt/test/asan/TestCases/alloca_big_alignment.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_detect_custom_size_.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_instruments_all_paddings.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_overflow_partial.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_overflow_right.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_safe_access.cc [new file with mode: 0644]
compiler-rt/test/asan/TestCases/alloca_underflow_left.cc [new file with mode: 0644]