LLVM  14.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::ModuleMemorySanitizerPass Struct Reference

A module pass for msan instrumentation. More...

#include "llvm/Transforms/Instrumentation/MemorySanitizer.h"

Inheritance diagram for llvm::ModuleMemorySanitizerPass:
Inheritance graph
[legend]
Collaboration diagram for llvm::ModuleMemorySanitizerPass:
Collaboration graph
[legend]

Public Member Functions

 ModuleMemorySanitizerPass (MemorySanitizerOptions Options)
 
PreservedAnalyses run (Module &M, ModuleAnalysisManager &AM)
 
- Public Member Functions inherited from llvm::PassInfoMixin< ModuleMemorySanitizerPass >
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 

Static Public Member Functions

static bool isRequired ()
 
- Static Public Member Functions inherited from llvm::PassInfoMixin< ModuleMemorySanitizerPass >
static StringRef name ()
 Gets the name of the pass we are mixed into. More...
 

Detailed 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.

Definition at line 57 of file MemorySanitizer.h.

Constructor & Destructor Documentation

◆ ModuleMemorySanitizerPass()

llvm::ModuleMemorySanitizerPass::ModuleMemorySanitizerPass ( MemorySanitizerOptions  Options)
inline

Definition at line 58 of file MemorySanitizer.h.

References Options.

Member Function Documentation

◆ isRequired()

static bool llvm::ModuleMemorySanitizerPass::isRequired ( )
inlinestatic

Definition at line 61 of file MemorySanitizer.h.

◆ run()

PreservedAnalyses ModuleMemorySanitizerPass::run ( Module M,
ModuleAnalysisManager AM 
)

The documentation for this struct was generated from the following files: