LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::MemorySanitizerPass Struct Reference

A function pass for msan instrumentation. More...

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

Inheritance diagram for llvm::MemorySanitizerPass:
Inheritance graph
Collaboration diagram for llvm::MemorySanitizerPass:
Collaboration graph

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ MemorySanitizerPass()

llvm::MemorySanitizerPass::MemorySanitizerPass ( MemorySanitizerOptions  Options)

Definition at line 40 of file MemorySanitizer.h.

References F().

Member Function Documentation

◆ run() [1/2]

PreservedAnalyses MemorySanitizerPass::run ( Function F,
FunctionAnalysisManager FAM 

◆ run() [2/2]

PreservedAnalyses MemorySanitizerPass::run ( Module M,
ModuleAnalysisManager AM 

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