[ASan] Enable -asan-stack-dynamic-alloca by default.
authorAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Feb 2015 19:39:20 +0000 (19:39 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Thu, 5 Feb 2015 19:39:20 +0000 (19:39 +0000)
commit639e3cd8806472e8b1a8e8172f8cb84e6ba8a24f
tree392c0ac0a8bb473019b7e3c512545aa0a0a721dc
parenta4ed04095cb61b6819bcaea3fb8d6e16ec6e49fe
[ASan] Enable -asan-stack-dynamic-alloca by default.

By default, store all local variables in dynamic alloca instead of
static one. It reduces the stack space usage in use-after-return mode
(dynamic alloca will not be called if the local variables are stored
in a fake stack), and improves the debug info quality for local
variables (they will not be described relatively to %rbp/%rsp, which
are assumed to be clobbered by function calls).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228336 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp