LLVM
16.0.0git
|
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"
Public Member Functions | |
HWAddressSanitizerPass (HWAddressSanitizerOptions Options) | |
PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
![]() | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Static Public Member Functions | |
static bool | isRequired () |
![]() | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
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.
|
inlineexplicit |
Definition at line 41 of file HWAddressSanitizer.h.
References Options.
|
inlinestatic |
Definition at line 44 of file HWAddressSanitizer.h.
void HWAddressSanitizerPass::printPipeline | ( | raw_ostream & | OS, |
function_ref< StringRef(StringRef)> | MapClassName2PassName | ||
) |
Definition at line 430 of file HWAddressSanitizer.cpp.
References llvm::HWAddressSanitizerOptions::CompileKernel, and llvm::HWAddressSanitizerOptions::Recover.
PreservedAnalyses HWAddressSanitizerPass::run | ( | Module & | M, |
ModuleAnalysisManager & | MAM | ||
) |
Definition at line 414 of file HWAddressSanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::HWAddressSanitizerOptions::CompileKernel, llvm::HWAddressSanitizerOptions::DisableOptimization, F, FAM, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), M, MAM, Modified, llvm::PreservedAnalyses::none(), and llvm::HWAddressSanitizerOptions::Recover.