LLVM 23.0.0git
llvm::MemorySanitizerPass Struct Reference

A module pass for msan instrumentation. More...

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

Inheritance diagram for llvm::MemorySanitizerPass:
[legend]

Public Member Functions

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

Additional Inherited Members

Static Public Member Functions inherited from llvm::RequiredPassInfoMixin< MemorySanitizerPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::PassInfoMixin< MemorySanitizerPass >
static bool isRequired ()
Static Public Member Functions inherited from llvm::detail::InfoMixin< MemorySanitizerPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.

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 43 of file MemorySanitizer.h.

Constructor & Destructor Documentation

◆ MemorySanitizerPass()

llvm::MemorySanitizerPass::MemorySanitizerPass ( MemorySanitizerOptions Options)
inline

Definition at line 44 of file MemorySanitizer.h.

Member Function Documentation

◆ printPipeline()

void MemorySanitizerPass::printPipeline ( raw_ostream & OS,
function_ref< StringRef(StringRef)> MapClassName2PassName )

Definition at line 818 of file MemorySanitizer.cpp.

References printPipeline().

Referenced by printPipeline().

◆ run()


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