aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2013-12-06 09:00:17 +0000
committerKostya Serebryany <kcc@google.com>2013-12-06 09:00:17 +0000
commit4fb7801b3fc85668ba65964806000c61071a54e2 (patch)
treea1ea1e7d7d8bf3c561192a7122a3736a1a2cd4a3 /clang/lib/Lex/ModuleMap.cpp
parent0d92abdfd230c9b1eadbda170d5daec947375cd6 (diff)
downloadllvm-4fb7801b3fc85668ba65964806000c61071a54e2.zip
llvm-4fb7801b3fc85668ba65964806000c61071a54e2.tar.gz
llvm-4fb7801b3fc85668ba65964806000c61071a54e2.tar.bz2
[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 llvm-svn: 196568
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions