|
LLVM
10.0.0
|
A function pass for msan instrumentation. More...
#include "llvm/Transforms/Instrumentation/MemorySanitizer.h"
Public Member Functions | |
| MemorySanitizerPass (MemorySanitizerOptions Options) | |
| PreservedAnalyses | run (Function &F, FunctionAnalysisManager &FAM) |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &AM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< MemorySanitizerPass > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
A function pass for msan instrumentation.
Instruments functions to detect unitialized reads. This function pass inserts calls to runtime library functions. If the functions aren't declared yet, the pass inserts the declarations. Otherwise the existing globals are used.
Definition at line 39 of file MemorySanitizer.h.
|
inline |
Definition at line 40 of file MemorySanitizer.h.
References F().
| PreservedAnalyses MemorySanitizerPass::run | ( | Function & | F, |
| FunctionAnalysisManager & | FAM | ||
| ) |
Definition at line 648 of file MemorySanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::GlobalValue::getParent(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::PreservedAnalyses::none().
| PreservedAnalyses MemorySanitizerPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | AM | ||
| ) |
Definition at line 656 of file MemorySanitizer.cpp.
References llvm::PreservedAnalyses::all(), INITIALIZE_PASS_BEGIN(), INITIALIZE_PASS_DEPENDENCY, and llvm::PreservedAnalyses::none().
1.8.13