diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 15:57:08 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2016-06-27 15:57:08 +0000 |
commit | 7d03ce480a4f1735ae79873739dfee4abc9dcaca (patch) | |
tree | f57f08f5f06fa73e7427298d45397ac2836d5a64 /lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py | |
parent | 4f130b4410b2662e9adb1947cd402d9593409c21 (diff) | |
download | bcm5719-llvm-7d03ce480a4f1735ae79873739dfee4abc9dcaca.tar.gz bcm5719-llvm-7d03ce480a4f1735ae79873739dfee4abc9dcaca.zip |
[asan] fix false dynamic-stack-buffer-overflow report with constantly-sized dynamic allocas, LLVM 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: 273888
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/target/TestTargetAPI.py')
0 files changed, 0 insertions, 0 deletions