llvm/test/Instrumentation/AddressSanitizer
Kuba Brecka 4f349ace2b [asan] Speed up compilation of large C++ stringmaps (tons of allocas) with ASan
This addresses PR30746, <https://llvm.org/bugs/show_bug.cgi?id=30746>. The ASan pass iterates over entry-block instructions and checks each alloca whether it's in NonInstrumentedStaticAllocaVec, which is apparently slow. This patch gathers the instructions to move during visitAllocaInst.

Differential Revision: https://reviews.llvm.org/D26380



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286296 91177308-0d34-0410-b5e6-96231b3b80d8
2016-11-08 21:30:41 +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] adaptive redzones for globals (the larger the global the larger is the redzone) 2013-01-24 10:35:40 +00:00
asan_address_space_attr.ll [asan] Do not instrument pointers with address space attributes 2016-06-22 00:15:52 +00:00
asan-vs-gvn.ll Do not widen load for different variable in GVN. 2016-09-09 18:42:35 +00:00
basic-msvc64.ll [asan] Support dynamic shadow address instrumentation 2016-09-30 17:46:32 +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_alloca2.ll [asan] Speed up compilation of large C++ stringmaps (tons of allocas) with ASan 2016-11-08 21:30:41 +00:00
debug_info_noninstrumented_alloca.ll [asan] Cleanup instrumentation of dynamic allocas 2016-08-20 17:22:27 +00:00
debug_info.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
debug-info-global-var.ll ASAN: Don't drop debug info attachements for global variables. 2016-09-20 18:28:42 +00:00
do-not-instrument-globals-darwin.ll [Coverage] Darwin: Move __llvm_covmap from __DATA to __LLVM_COV 2016-10-27 23:17:51 +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 [ASan] Add -asan-module to the ASan .ll tests. 2014-03-20 11:16:34 +00:00
do-not-instrument-profiling-globals.ll [asan] Do not instrument accesses to profiling globals 2016-06-22 17:30:58 +00:00
do-not-instrument-promotable-allocas.ll [asan] Cleanup instrumentation of dynamic allocas 2016-08-20 17:22:27 +00:00
do-not-instrument-sanitizers.ll address comments from: https://reviews.llvm.org/D24566 2016-09-15 15:19:19 +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 [ASan] Add -asan-module to the ASan .ll tests. 2014-03-20 11:16:34 +00:00
do-not-touch-threadlocal.ll [ASan] Add -asan-module to the ASan .ll tests. 2014-03-20 11:16:34 +00:00
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_cstring_darwin.ll [asan] Move instrumented null-terminated strings to a special section, LLVM part 2016-10-31 18:51:58 +00:00
global_metadata_darwin.ll [ASAN] Add the binder globals on Darwin to llvm.compiler.used to avoid LTO dead-stripping 2016-10-01 00:05:34 +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] Cleanup instrumentation of dynamic allocas 2016-08-20 17:22:27 +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-throw.ll [asan] Enable new stack poisoning with store instruction by default 2016-08-29 19:28:34 +00:00
lifetime-uar-uas.ll [asan] Enable new stack poisoning with store instruction by default 2016-08-29 19:28:34 +00:00
lifetime.ll Revert "[asan] Avoid lifetime analysis for allocas with can be in ambiguous state" 2016-09-16 01:38:46 +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] Append line number to variable name if line is available and in the same file as the function. 2016-10-18 23:29:41 +00:00
stack-poisoning-and-lifetime-be.ll [asan] Rename test file as the poisoning is not "experimental" 2016-10-18 18:05:06 +00:00
stack-poisoning-and-lifetime.ll [asan] Rename test file as the poisoning is not "experimental" 2016-10-18 18:05:06 +00:00
stack-poisoning.ll [asan] Enable new stack poisoning with store instruction by default 2016-08-29 19:28:34 +00:00
str-nobuiltin.ll [sanitizers] Disable target-specific lowering of string functions. 2016-06-18 10:10:37 +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