diff options
author | Andrea Di Biagio <andrea.dibiagio@sony.com> | 2021-04-20 12:57:20 +0100 |
---|---|---|
committer | Andrea Di Biagio <andrea.dibiagio@sony.com> | 2021-04-20 13:30:45 +0100 |
commit | 2226d21896d6d30d51e13385361ea0706ee9d9fb (patch) | |
tree | 5526f532a01eeb067e280f4211943485e858dabb /llvm/lib/FileCheck/FileCheck.cpp | |
parent | 03e7fefff8caa6891cbb510283fa8c40247a9b0c (diff) | |
download | llvm-2226d21896d6d30d51e13385361ea0706ee9d9fb.zip llvm-2226d21896d6d30d51e13385361ea0706ee9d9fb.tar.gz llvm-2226d21896d6d30d51e13385361ea0706ee9d9fb.tar.bz2 |
[MCA][LSUnit] Fix a potential use after free in the logic that updates memory groups.
Make sure that the `CriticalMemoryInstruction` of a memory group is invalidated
if it references an already executed instruction. This avoids a potential
use-after-free if the critical memory info becomes stale, and the value is
read after the instruction has executed.
Diffstat (limited to 'llvm/lib/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions