|
LLVM
10.0.0
|
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 (bool CompileKernel=false, bool Recover=false) | |
| PreservedAnalyses | run (Module &M, ModuleAnalysisManager &MAM) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< HWAddressSanitizerPass > | |
| 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 25 of file HWAddressSanitizer.h.
|
explicit |
Definition at line 346 of file HWAddressSanitizer.cpp.
| PreservedAnalyses HWAddressSanitizerPass::run | ( | Module & | M, |
| ModuleAnalysisManager & | MAM | ||
| ) |
Definition at line 349 of file HWAddressSanitizer.cpp.
References llvm::PreservedAnalyses::all(), llvm::appendToCompilerUsed(), llvm::appendToGlobalCtors(), llvm::HexStyle::Asm, C, ClGlobals, ClInstrumentAtomics, ClInstrumentLandingPads, ClInstrumentPersonalityFunctions, ClInstrumentReads, ClInstrumentWrites, ClMemoryAccessCallbackPrefix, ClUseShortGranules, llvm::IRBuilder< T, Inserter >::CreateCall(), llvm::IRBuilder< T, Inserter >::CreateLoad(), llvm::dbgs(), llvm::GlobalValue::ExternalLinkage, F(), llvm::InlineAsm::get(), llvm::FunctionType::get(), llvm::ArrayType::get(), llvm::Module::getContext(), llvm::Module::getDataLayout(), llvm::IRBuilderBase::GetInsertBlock(), llvm::IRBuilderBase::getInt32Ty(), llvm::IRBuilderBase::getInt8PtrTy(), llvm::IRBuilderBase::getInt8Ty(), llvm::IRBuilderBase::getIntPtrTy(), llvm::Instruction::getModule(), llvm::Module::getName(), llvm::getOrCreateSanitizerCtorAndInitFunctions(), llvm::Module::getOrInsertComdat(), llvm::Module::getOrInsertFunction(), llvm::Module::getOrInsertGlobal(), llvm::BasicBlock::getParent(), llvm::GlobalValue::getParent(), llvm::Type::getPointerAddressSpace(), llvm::Type::getScalarType(), llvm::Module::getTargetTriple(), llvm::Value::getType(), llvm::DataLayout::getTypeStoreSizeInBits(), llvm::IRBuilderBase::getVoidTy(), llvm::Instruction::hasMetadata(), I, llvm::GlobalValue::InitialExecTLSModel, llvm::Triple::isAndroid(), llvm::Triple::isAndroidVersionLT(), llvm::Value::isSwiftError(), llvm::itostr(), kDynamicShadowSentinel, kNumberOfAccessSizes, LLVM_DEBUG, Modified, llvm::PreservedAnalyses::none(), llvm::GlobalObject::setComdat(), and SI.
1.8.13