[PATCH] D133394: [sanitizers] Invalidate GlobalsAA

Alina Sbirlea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 8 09:30:17 PDT 2022


asbirlea added a comment.

Confirming this is necessary - the patch came after an offline discussion of the issue.
+1 to adding comments to explain why this is needed: GlobalsAA is considered stateless and does not get invalidated with unless explicitly invalidated; `PreservedAnalyses::none()` is not enough. Sanitizers make changes that require GlobalsAA to be invalidated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D133394/new/

https://reviews.llvm.org/D133394



More information about the llvm-commits mailing list