diff options
| author | Gor Nishanov <GorNishanov@gmail.com> | 2019-05-13 23:58:24 +0000 |
|---|---|---|
| committer | Gor Nishanov <GorNishanov@gmail.com> | 2019-05-13 23:58:24 +0000 |
| commit | d64455cd431bce37d15acca4e2de2829180fe12c (patch) | |
| tree | 3f53786cfee597906a8ef18796a3023c15e1b22c /lldb/packages/Python/lldbsuite/test/python_api/debugger | |
| parent | 921f132a0f609154fa3a2c419b0119f7bf32ba96 (diff) | |
| download | bcm5719-llvm-d64455cd431bce37d15acca4e2de2829180fe12c.tar.gz bcm5719-llvm-d64455cd431bce37d15acca4e2de2829180fe12c.zip | |
[coroutines] Fix spills of static array allocas
Summary:
CoroFrame was not considering static array allocas, and was only ever reserving a single element in the coroutine frame.
This meant that stores to the non-zero'th element would corrupt later frame data.
Store static array allocas as field arrays in the coroutine frame.
Added test.
Committed by Gor Nishanov on behalf of ben-clayton
Reviewers: GorNishanov, modocache
Reviewed By: GorNishanov
Subscribers: Orlando, capn, EricWF, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D61372
llvm-svn: 360636
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger')
0 files changed, 0 insertions, 0 deletions

