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

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D154581: [clang][Inter... Timm Bäder via Phabricator via cfe-commits

Reply via email to