struct ModuleMemorySanitizerPass
Declaration
struct ModuleMemorySanitizerPass : public PassInfoMixin { /* full declaration omitted */ };
Description
A module 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.
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:61
Inherits from: PassInfoMixin
Member Variables
- private llvm::MemorySanitizerOptions Options
Method Overview
- public ModuleMemorySanitizerPass(llvm::MemorySanitizerOptions Options)
- public static bool isRequired()
- public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)
Methods
¶ModuleMemorySanitizerPass(
llvm::MemorySanitizerOptions Options)
ModuleMemorySanitizerPass(
llvm::MemorySanitizerOptions Options)
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:62
Parameters
- llvm::MemorySanitizerOptions Options
¶static bool isRequired()
static bool isRequired()
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:65
¶llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
Declared at: llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h:64