diff options
author | Amara Emerson <amara@apple.com> | 2023-10-06 14:54:27 -0700 |
---|---|---|
committer | Amara Emerson <amara@apple.com> | 2023-10-06 15:02:39 -0700 |
commit | 7510f32f906ab4e583542eae2611b020f88629af (patch) | |
tree | 47df9b2adbe46707b9a288d0b4138a605fac176e /clang/unittests/Basic/SourceManagerTest.cpp | |
parent | 531233d4b099835a3b384456c2c22453010f9780 (diff) | |
download | llvm-7510f32f906ab4e583542eae2611b020f88629af.zip llvm-7510f32f906ab4e583542eae2611b020f88629af.tar.gz llvm-7510f32f906ab4e583542eae2611b020f88629af.tar.bz2 |
[MachineSink] Fix crash due to use-after-free in a MachineInstr* cache.
After the SinkAndFold optimization was enabled, we saw some crashes with
GISel due to SinkAndFold erasing an MI while a reference was being held in a
cache.
Diffstat (limited to 'clang/unittests/Basic/SourceManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions