LLVM 22.0.0git
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:
[legend]

Public Member Functions

 HWAddressSanitizerPass (HWAddressSanitizerOptions Options)
LLVM_ABI PreservedAnalyses run (Module &M, ModuleAnalysisManager &MAM)
LLVM_ABI 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 40 of file HWAddressSanitizer.h.

Constructor & Destructor Documentation

◆ HWAddressSanitizerPass()

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

Definition at line 42 of file HWAddressSanitizer.h.

Member Function Documentation

◆ isRequired()

bool llvm::HWAddressSanitizerPass::isRequired ( )
inlinestatic

Definition at line 45 of file HWAddressSanitizer.h.

◆ printPipeline()

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

Definition at line 534 of file HWAddressSanitizer.cpp.

References printPipeline().

Referenced by printPipeline().

◆ run()


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