diff options
author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2024-03-12 07:52:48 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 07:52:48 -0500 |
commit | 629afd4dea1860755b4b7c05bb48538b8710c9d1 (patch) | |
tree | b63c62bfa1a4265a91b076f867ddbec8373ae739 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 0b2c24e0b33236c1dec39fe8b007b4c6aeb170b3 (diff) | |
download | llvm-629afd4dea1860755b4b7c05bb48538b8710c9d1.zip llvm-629afd4dea1860755b4b7c05bb48538b8710c9d1.tar.gz llvm-629afd4dea1860755b4b7c05bb48538b8710c9d1.tar.bz2 |
[flang][Lower] Fix use-after-free with TypeRange (#84369)
TypeRange is an iterator range, it does not own storage spanned by the
iterators. When using TypeRange, make sure that the actual contents
don't "expire" while the range is in use.
This was detected by address sanitizer.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions