[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanit...
authorKostya Serebryany <kcc@google.com>
Wed, 26 Jun 2013 12:16:05 +0000 (12:16 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 26 Jun 2013 12:16:05 +0000 (12:16 +0000)
commit6a068a715d6abaa744c4354109c2b8eb8b0f9f65
tree472ae27cd9ad9000e229dfa732836c9fd9ca5d52
parentfed077be036807768e8397dbedccd62db5d2de3b
[asan] initialize fake_stack lazily and increase its maximal size. This makes -fsanitize=address,use-after-return more robust: all SPEC tests pass now. In the default mode thread stacks become a bit smaller.

llvm-svn: 184934
compiler-rt/lib/asan/asan_fake_stack.cc
compiler-rt/lib/asan/asan_fake_stack.h
compiler-rt/lib/asan/asan_report.cc
compiler-rt/lib/asan/asan_thread.cc
compiler-rt/lib/asan/asan_thread.h