[PATCH] D154581: [clang][Interp] Track existing InitMaps in InterpState
Timm Bäder via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 10 01:34:15 PDT 2023
tbaeder added a comment.
One problem this does not fix (but rather introduce) is that the `InterpState` will also free initmaps of global variables which haven't been fully initialized. When the initialization fails midway throught, the `InterpState` will free the `InitMap`, leaving the global variable with a dangling pointer to an `InitMap`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154581/new/
https://reviews.llvm.org/D154581
More information about the cfe-commits
mailing list