1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/test/Instrumentation
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
..
AddressSanitizer [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
BoundsChecking ObjectSizeOffsetEvaluator: Don't run into infinite recursion if we have a cyclic GEP. 2013-09-29 19:39:13 +00:00
DataFlowSanitizer DataFlowSanitizer: Implement trampolines for function pointers passed to custom functions. 2013-08-27 22:09:06 +00:00
MemorySanitizer [msan] Instrument x86.*_cvt* intrinsics. 2013-10-14 15:16:25 +00:00
ThreadSanitizer TBAA: handle scalar TBAA format and struct-path aware TBAA format. 2013-09-27 18:34:27 +00:00