diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 15:57:53 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 15:57:53 +0000 |
commit | 7d1ebed0c5c3c7e313cb47d89942030a896650cd (patch) | |
tree | e01c61071900e68781fec38461cda091f7ecaeaf /lldb/packages/Python/lldbsuite/test/python_api/target | |
parent | 7d03ce480a4f1735ae79873739dfee4abc9dcaca (diff) | |
download | bcm5719-llvm-7d1ebed0c5c3c7e313cb47d89942030a896650cd.tar.gz bcm5719-llvm-7d1ebed0c5c3c7e313cb47d89942030a896650cd.zip |
[asan] fix false dynamic-stack-buffer-overflow report with constantly-sized dynamic allocas, compiler-rt part
See the bug report at https://github.com/google/sanitizers/issues/691. When a dynamic alloca has a constant size, ASan instrumentation will treat it as a regular dynamic alloca (insert calls to poison and unpoison), but the backend will turn it into a regular stack variable. The poisoning/unpoisoning is then broken. This patch will treat such allocas as static.
Differential Revision: http://reviews.llvm.org/D21509
llvm-svn: 273889
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target')
0 files changed, 0 insertions, 0 deletions