1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/Instrumentation/AddressSanitizer
Vitaly Buka f126725677 Make sure that not interesting allocas are not instrumented.
Summary:
We failed to unpoison uninteresting allocas on return as unpoisoning is part of
main instrumentation which skips such allocas.

Added check -asan-instrument-allocas for dynamic allocas. If instrumentation of
dynamic allocas is disabled it will not will not be unpoisoned.

PR27453

Reviewers: kcc, eugenis

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D21207

llvm-svn: 272341
2016-06-09 23:31:59 +00:00
..
X86 [asan] Don't run stack malloc on functions containing inline assembly. 2015-06-25 23:35:45 +00:00
adaptive_global_redzones.ll
asan-vs-gvn.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
basic.ll Revert "Change memcpy/memset/memmove to have dest and source alignments." 2015-11-19 05:56:52 +00:00
debug_info_noninstrumented_alloca.ll [ASan] Minor fixes to dynamic allocas handling: 2015-10-22 19:51:59 +00:00
debug_info.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
do-not-instrument-globals-darwin.ll [asan] Do not instrument globals in the special "LLVM" sections 2016-02-24 22:12:18 +00:00
do-not-instrument-globals-linux.ll [ASan] Don't instrument globals in .preinit_array/.init_array/.fini_array 2015-09-15 23:05:48 +00:00
do-not-instrument-internal-globals.ll
do-not-instrument-promotable-allocas.ll [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
do-not-touch-comdat-global.ll [opaque pointer type] Add textual IR support for explicit type parameter for global aliases 2015-09-11 03:22:04 +00:00
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
experiment-call.ll asan: optimization experiments 2015-03-17 16:59:19 +00:00
experiment.ll asan: optimization experiments 2015-03-17 16:59:19 +00:00
freebsd.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
global_metadata_darwin.ll Revert "[asan] Make the global_metadata_darwin.ll test require El Capitan or newer" 2016-03-29 18:27:24 +00:00
global_metadata.ll [asan] Support dead code stripping on Mach-O platforms 2016-03-28 20:28:57 +00:00
instrument_global.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
instrument_initializer_metadata.ll IR: Make metadata typeless in assembly 2014-12-15 19:07:53 +00:00
instrument_load_then_store.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
instrument-dynamic-allocas.ll [ASan] Disable instrumentation for inalloca variables. 2015-11-05 21:18:41 +00:00
instrument-no-return.ll Move the personality function from LandingPadInst to Function 2015-06-17 20:52:32 +00:00
instrument-stack.ll asan: do not instrument direct inbounds accesses to stack variables 2015-03-04 13:27:53 +00:00
instrumentation-with-call-threshold.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
keep_going.ll [ASan] Enable optional ASan recovery. 2015-11-11 10:36:49 +00:00
lifetime-uar-uas.ll Unpoison stack memory in use-after-return + use-after-scope mode 2016-06-09 23:05:35 +00:00
lifetime.ll Make sure that not interesting allocas are not instrumented. 2016-06-09 23:31:59 +00:00
local_alias.ll [asan] Introduce new hidden -asan-use-private-alias option. 2016-02-08 08:30:57 +00:00
localescape.ll Re-land 242726 to use RAII to do cleanup 2015-07-21 17:40:14 +00:00
scale-offset.ll [asan] add option to set shadow mapping offset 2016-05-06 10:25:22 +00:00
stack_dynamic_alloca.ll [ASan] Disable dynamic alloca and UAR detection in presence of returns_twice calls. 2015-07-29 19:36:08 +00:00
stack_layout.ll [asan] Skip promotable allocas to improve performance at -O0 2015-02-27 03:12:36 +00:00
stack-poisoning.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test64.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
twice.ll [ASAN] Add doFinalization to reset state 2015-12-05 14:42:34 +00:00
ubsan.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00