LLVM 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::HWAddressSanitizerPass Class Reference

This is a public interface to the hardware address sanitizer pass for instrumenting code to check for various memory errors at runtime, similar to AddressSanitizer but based on partial hardware assistance. More...

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

Inheritance diagram for llvm::HWAddressSanitizerPass:
Inheritance graph
[legend]

Public Member Functions

 HWAddressSanitizerPass (HWAddressSanitizerOptions Options)
 
PreservedAnalyses run (Module &M, ModuleAnalysisManager &MAM)
 
void printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
 
- Public Member Functions inherited from llvm::PassInfoMixin< HWAddressSanitizerPass >
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< HWAddressSanitizerPass >
static StringRef name ()
 Gets the name of the pass we are mixed into.
 

Detailed Description

This is a public interface to the hardware address sanitizer pass for instrumenting code to check for various memory errors at runtime, similar to AddressSanitizer but based on partial hardware assistance.

Definition at line 39 of file HWAddressSanitizer.h.

Constructor & Destructor Documentation

◆ HWAddressSanitizerPass()

llvm::HWAddressSanitizerPass::HWAddressSanitizerPass ( HWAddressSanitizerOptions  Options)
inlineexplicit

Definition at line 41 of file HWAddressSanitizer.h.

References Options.

Member Function Documentation

◆ isRequired()

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

Definition at line 44 of file HWAddressSanitizer.h.

◆ printPipeline()

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

◆ run()

PreservedAnalyses HWAddressSanitizerPass::run ( Module M,
ModuleAnalysisManager MAM 
)

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