[PATCH] D133394: [sanitizers] Invalidate GlobalsAA

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 7 12:59:56 PDT 2022


aeubanks added a comment.

Mentioning in the summary that GlobalsAA only expects simplification and therefore doesn't expect new globals (as I understand). Also that GlobalsAA is special in the way it's invalidated/updated.
I'd like somebody like @asbirlea to confirm this.



================
Comment at: llvm/lib/Transforms/Instrumentation/DataFlowSanitizer.cpp:3374
+  PreservedAnalyses PA = PreservedAnalyses::none();
+  PA.abandon<GlobalsAA>();
+  return PA;
----------------
adding comments here would be helpful


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