lowering / codegen is unsound for try/catch variables #57393
Labels
compiler:llvm
For issues that relate to LLVM
correctness bug ⚠
Bugs that are likely to lead to incorrect results in user code without throwing
The LLVM optimizer can be tricked into not observing memory effects on will-throw branches, since it does not know they will resume at the catch branch. We can turn that into a miscompile using SSAValue (as otherwise slot2ssa would normally put a phic node here on any attempted direct use of
x
which would inhibit llvm from doing any analysis of it)The text was updated successfully, but these errors were encountered: