llvm-project/llvm/test/Instrumentation/AddressSanitizer
Vitaly Buka 53054a7024 Fix detection of stack-use-after scope for char arrays.
Summary:
Clang inserts GetElementPtrInst so findAllocaForValue was not
able to find allocas.

PR27453

Reviewers: kcc, eugenis

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

llvm-svn: 276374
2016-07-22 00:56:17 +00:00
..
X86
adaptive_global_redzones.ll
asan-vs-gvn.ll
asan_address_space_attr.ll [asan] Do not instrument pointers with address space attributes 2016-06-22 00:15:52 +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.ll [PR27284] Reverse the ownership between DICompileUnit and DISubprogram. 2016-04-15 15:57:41 +00:00
debug_info_noninstrumented_alloca.ll [ASan] Minor fixes to dynamic allocas handling: 2015-10-22 19:51:59 +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-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 [LLVM] Remove unwanted --check-prefix=CHECK from unit tests. NFC. 2016-04-19 23:51:52 +00:00
do-not-touch-comdat-global.ll
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
experiment-call.ll
experiment.ll
freebsd.ll
global_metadata.ll [asan] Support dead code stripping on Mach-O platforms 2016-03-28 20:28:57 +00:00
global_metadata_darwin.ll [asan] Add a hidden option for Mach-O global metadata liveness tracking 2016-07-05 21:53:08 +00:00
instrument-dynamic-allocas.ll [ASan] Disable instrumentation for inalloca variables. 2015-11-05 21:18:41 +00:00
instrument-no-return.ll
instrument-stack.ll
instrument_global.ll
instrument_initializer_metadata.ll
instrument_load_then_store.ll
instrumentation-with-call-threshold.ll
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 Fix detection of stack-use-after scope for char arrays. 2016-07-22 00:56:17 +00:00
local_alias.ll [asan] Introduce new hidden -asan-use-private-alias option. 2016-02-08 08:30:57 +00:00
localescape.ll
scale-offset.ll [asan] add option to set shadow mapping offset 2016-05-06 10:25:22 +00:00
stack-poisoning.ll
stack_dynamic_alloca.ll
stack_layout.ll
str-nobuiltin.ll [sanitizers] Disable target-specific lowering of string functions. 2016-06-18 10:10:37 +00:00
test64.ll
twice.ll [ASAN] Add doFinalization to reset state 2015-12-05 14:42:34 +00:00
ubsan.ll