diff options
author | Justin Bogner <mail@justinbogner.com> | 2016-03-25 20:03:28 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2016-03-25 20:03:28 +0000 |
commit | ec0e7d2582abe0169ebde8fb2105d998bdc79d4d (patch) | |
tree | d9990be2bf10faa272120b8d12f65b236f501e96 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | 750a90df6ab4d119fe0fab51715464dad5ebaf2b (diff) | |
download | bcm5719-llvm-ec0e7d2582abe0169ebde8fb2105d998bdc79d4d.tar.gz bcm5719-llvm-ec0e7d2582abe0169ebde8fb2105d998bdc79d4d.zip |
CodeGen: Don't iterate over operands after we've erased an MI
This fixes a use-after-free introduced 3 years ago, in r182872 ;)
The code more or less worked because the memory that CopyMI was
pointing to happened to still be valid, but lots of tests would crash
if you ran under ASAN with the recycling allocator changes from
llvm.org/PR26808
llvm-svn: 264455
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions