llvm/test/Instrumentation/AddressSanitizer
Kostya Serebryany daa1bf3b74 [asan] rewrite asan's stack frame layout
Summary:
Rewrite asan's stack frame layout.
First, most of the stack layout logic is moved into a separte file
to make it more testable and (potentially) useful for other projects.
Second, make the frames more compact by using adaptive redzones
(smaller for small objects, larger for large objects).
Third, try to minimized gaps due to large alignments (this is hypothetical since
today we don't see many stack vars aligned by more than 32).

The frames indeed become more compact, but I'll still need to run more benchmarks
before committing, but I am sking for review now to get early feedback.

This change will be accompanied by a trivial change in compiler-rt tests
to match the new frame sizes.

Reviewers: samsonov, dvyukov

Reviewed By: samsonov

CC: llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196568 91177308-0d34-0410-b5e6-96231b3b80d8
2013-12-06 09:00:17 +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] adaptive redzones for globals (the larger the global the larger is the redzone) 2013-01-24 10:35:40 +00:00
asan-vs-gvn.ll [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
basic.ll [asan] rewrite asan's stack frame layout 2013-12-06 09:00:17 +00:00
coverage.ll Reapply "[asan] Poor man's coverage that works with ASan" 2013-11-15 07:16:09 +00:00
debug_info.ll Debug Info: update testing cases to specify the debug info version number. 2013-11-22 21:49:45 +00:00
different_scale_and_offset.ll Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00
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 fall back to explicit list of allowed linkages when instrumenting globals in asan; add a test check that asan does not touch linkonce_odr 2011-11-17 23:14:59 +00:00
do-not-touch-threadlocal.ll [asan] do not instrument threadlocal globals, this is buggy 2011-11-23 02:10:54 +00:00
instrument_global.ll [asan] Optimize accesses to global arrays with constant index 2013-10-16 14:06:14 +00:00
instrument_initializer_metadata.ll [ASan] emit instrumentation for initialization order checking by default 2013-03-14 12:38:58 +00:00
instrument_load_then_store.ll Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00
instrument-no-return.ll Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00
keep-instrumented_functions.ll [asan] add option -asan-keep-uninstrumented-functions 2013-06-26 09:18:17 +00:00
lifetime-uar.ll [ASan] Fix PR17867 - make sure ASan doesn't crash if use-after-scope and use-after-return are combined. 2013-11-18 14:53:55 +00:00
lifetime.ll [ASan] Fix PR17867 - make sure ASan doesn't crash if use-after-scope and use-after-return are combined. 2013-11-18 14:53:55 +00:00
stack_layout.ll [asan] rewrite asan's stack frame layout 2013-12-06 09:00:17 +00:00
test64.ll Unify clang/llvm attributes for asan/tsan/msan (LLVM part) 2013-02-26 06:58:09 +00:00