class ModuleAddressSanitizerPass
Declaration
class ModuleAddressSanitizerPass : public PassInfoMixin { /* full declaration omitted */ };
Description
Public interface to the address sanitizer module pass for instrumenting code to check for various memory errors. This adds 'asan.module_ctor' to 'llvm.global_ctors'. This pass may also run intependently of the function address sanitizer.
Declared at: llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h:117
Inherits from: PassInfoMixin
Method Overview
- public ModuleAddressSanitizerPass(bool CompileKernel = false, bool Recover = false, bool UseGlobalGC = true, bool UseOdrIndicator = false)
- public llvm::PreservedAnalyses run(llvm::Module & M, llvm::ModuleAnalysisManager & AM)
Methods
¶ModuleAddressSanitizerPass(
bool CompileKernel = false,
bool Recover = false,
bool UseGlobalGC = true,
bool UseOdrIndicator = false)
ModuleAddressSanitizerPass(
bool CompileKernel = false,
bool Recover = false,
bool UseGlobalGC = true,
bool UseOdrIndicator = false)
Declared at: llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h:120
Parameters
- bool CompileKernel = false
- bool Recover = false
- bool UseGlobalGC = true
- bool UseOdrIndicator = false
¶llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
llvm::PreservedAnalyses run(
llvm::Module& M,
llvm::ModuleAnalysisManager& AM)
Declared at: llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h:124