class HWAddressSanitizerPass

Declaration

class HWAddressSanitizerPass : public PassInfoMixin { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h:25

Inherits from: PassInfoMixin

Method Overview

  • public HWAddressSanitizerPass(bool CompileKernel = false, bool Recover = false)
  • public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & MAM)

Methods

HWAddressSanitizerPass(bool CompileKernel = false,
                       bool Recover = false)

Declared at: llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h:27

Parameters

bool CompileKernel = false
bool Recover = false

llvm::PreservedAnalyses run(
    llvm::Module& M,
    llvm::ModuleAnalysisManager& MAM)

Declared at: llvm/include/llvm/Transforms/Instrumentation/HWAddressSanitizer.h:29

Parameters

llvm::Module& M
llvm::ModuleAnalysisManager& MAM