1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Instrumentation/AddressSanitizer
Kostya Serebryany 2ae1ed1c8f [asan] Optimize accesses to global arrays with constant index
Summary:
Given a global array G[N], which is declared in this CU and has static initializer
avoid instrumenting accesses like G[i], where 'i' is a constant and 0<=i<N.
Also add a bit of stats.

This eliminates ~1% of instrumentations on SPEC2006
and also partially helps when asan is being run together with coverage.

Reviewers: samsonov

Reviewed By: samsonov

CC: llvm-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D1947

llvm-svn: 192794
2013-10-16 14:06:14 +00:00
..
X86 TBAA: handle scalar TBAA format and struct-path aware TBAA format. 2013-09-27 18:34:27 +00:00
adaptive_global_redzones.ll
asan-vs-gvn.ll [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
basic.ll [asan] workaround for PR16277: don't instrument AllocaInstr with alignment more than the redzone size 2013-06-26 09:49:52 +00:00
debug_info.ll Debug Info Testing: update context from empty string to null. 2013-09-08 03:11:54 +00:00
different_scale_and_offset.ll
do-not-instrument-internal-globals.ll Change the linkage of these global values to 'internal'. 2013-08-06 22:52:42 +00:00
do-not-touch-odr-global.ll
do-not-touch-threadlocal.ll
instrument_global.ll [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
instrument_initializer_metadata.ll
instrument_load_then_store.ll
instrument-no-return.ll
keep-instrumented_functions.ll [asan] add option -asan-keep-uninstrumented-functions 2013-06-26 09:18:17 +00:00
lifetime.ll
test64.ll