about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
diff options
context:
space:
mode:
authordianqk <dianqk@dianqk.net>2025-03-24 16:55:24 +0800
committerdianqk <dianqk@dianqk.net>2025-04-02 19:27:17 +0800
commit9d999bb035234f2d3eeff38853e262728f9031c6 (patch)
treef9d6f8532eb2da580bff11fe86bff26b6adc8e9c /compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp
parent79de6c0bbe76904ac7086b05327ee5756fb302b1 (diff)
downloadrust-9d999bb035234f2d3eeff38853e262728f9031c6.tar.gz
rust-9d999bb035234f2d3eeff38853e262728f9031c6.zip
Do not use `for_each_assignment_mut` to iterate over assignment statements
`for_each_assignment_mut` can skip assignment statements with side effects,
which can result in some assignment statements retrieving outdated value.
For example, it may skip a dereference assignment statement.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/SymbolWrapper.cpp')
0 files changed, 0 insertions, 0 deletions