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

Kirill Stoimenov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 26 16:47:36 PDT 2021


kstoimenov marked 2 inline comments as done.
kstoimenov added a comment.

PTAL.



================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:1265
 GlobalsMetadata ASanGlobalsMetadataAnalysis::run(Module &M,
                                                  ModuleAnalysisManager &AM) {
   return GlobalsMetadata(M);
----------------
vitalybuka wrote:
> vitalybuka wrote:
> > You can make this module pass to calculate StackSafetyGlobalAnalysis and use cached one below.
> > This way we will avoid exposure of this logic to PM
> It should probably be in ModuleAddressSanitizerPass, so it wll return ::all() and we don't care about invalidation.
getCachedResult uses the invalidation so I couldn't get rid of it. 


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