[PATCH] D64843: hwasan: Initialize the pass only once.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 16 17:40:34 PDT 2019


pcc created this revision.
pcc added a reviewer: eugenis.
Herald added subscribers: cfe-commits, hiraditya.
Herald added projects: clang, LLVM.

This will let us instrument globals during initialization. This required
making the new PM pass a module pass, which should still provide access to
analyses via the ModuleAnalysisManager.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D64843

Files:
  clang/lib/CodeGen/BackendUtil.cpp
  llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
  llvm/test/Instrumentation/HWAddressSanitizer/basic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D64843.210227.patch
Type: text/x-patch
Size: 7901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190717/9884db94/attachment.bin>


More information about the llvm-commits mailing list