[PATCH] D112098: [ASan] Added stack safety support in address sanitizer.

Vitaly Buka via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 22:38:45 PDT 2021


vitalybuka added subscribers: morehouse, pcc, eugenis.
vitalybuka added inline comments.


================
Comment at: llvm/include/llvm/Analysis/StackSafetyAnalysis.h:93
+  bool invalidate(Module &, const PreservedAnalyses &,
+                  ModuleAnalysisManager::Invalidator &) {
+    return false;
----------------
vitalybuka wrote:
> we still can't do that, some passes can make results irrelevant
Looks like only immutable analysis can be used through proxy, and this analysis cannot be immutable.
Maybe we have to convert Asan into ModulePass, like HWAsan.
Any other ideas? @eugenis @pcc @morehouse 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112098



More information about the llvm-commits mailing list