|
LLVM
10.0.0
|
Public interface to the address sanitizer module pass for instrumenting code to check for various memory errors. More...
#include "llvm/Transforms/Instrumentation/AddressSanitizer.h"
Public Member Functions | |
| ModuleAddressSanitizerPass (bool CompileKernel=false, bool Recover=false, bool UseGlobalGC=true, bool UseOdrIndicator=false) | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< ModuleAddressSanitizerPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Public interface to the address sanitizer module pass for instrumenting code to check for various memory errors.
This adds 'asan.module_ctor' to 'llvm.global_ctors'. This pass may also run intependently of the function address sanitizer.
Definition at line 117 of file AddressSanitizer.h.
|
explicit |
Definition at line 1187 of file AddressSanitizer.cpp.
| PreservedAnalyses ModuleAddressSanitizerPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM | ||
| ) |
Definition at line 1194 of file AddressSanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), INITIALIZE_PASS(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, INITIALIZE_PASS_END(), and llvm::PreservedAnalyses::none().
1.8.13