diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2024-08-15 15:45:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-15 18:45:36 -0400 |
commit | 7156bcf2867f4ca98c8c9166e1ecb77daab08aa5 (patch) | |
tree | 95a30ce52df09fb91d3032fe1c457dbdb34276a6 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | c5b611a419ca8acab041ca52a94c6338bdcd1756 (diff) | |
download | llvm-7156bcf2867f4ca98c8c9166e1ecb77daab08aa5.zip llvm-7156bcf2867f4ca98c8c9166e1ecb77daab08aa5.tar.gz llvm-7156bcf2867f4ca98c8c9166e1ecb77daab08aa5.tar.bz2 |
[Attributor][FIX] Ensure we do not use stale references (#104495)
When copying map entries, we might run into resizing and invalidate the
RHS of the assignment. We dealt with this before and now use the proper
helper to avoid the problem in another place.
Fixes: https://github.com/llvm/llvm-project/issues/104397
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
0 files changed, 0 insertions, 0 deletions