14 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZERPASS_H 15 #define LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZERPASS_H 41 bool IsDynInit =
false;
42 bool IsBlacklisted =
false;
55 auto Pos = Entries.find(
G);
56 return (Pos != Entries.end()) ? Pos->second :
Entry();
102 bool Recover =
false,
103 bool UseAfterScope =
false);
121 bool Recover =
false,
122 bool UseGlobalGC =
true,
123 bool UseOdrIndicator =
false);
130 bool UseOdrIndicator;
135 bool Recover =
false,
136 bool UseAfterScope =
false);
138 bool CompileKernel =
false,
bool Recover =
false,
bool UseGlobalsGC =
true,
139 bool UseOdrIndicator =
true);
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
Public interface to the address sanitizer module pass for instrumenting code to check for various mem...
LLVM_NODISCARD bool empty() const
empty - Check if the string is empty.
A CRTP mix-in to automatically provide informational APIs needed for passes.
A set of analyses that are preserved following a run of a transformation pass.
A CRTP mix-in that provides informational APIs needed for analysis passes.
FunctionPass class - This class is used to implement most global optimizations.
Module.h This file contains the declarations for the Module class.
FunctionPass * createAddressSanitizerFunctionPass(bool CompileKernel=false, bool Recover=false, bool UseAfterScope=false)
Public interface to the address sanitizer pass for instrumenting code to check for various memory err...
ModulePass * createModuleAddressSanitizerLegacyPassPass(bool CompileKernel=false, bool Recover=false, bool UseGlobalsGC=true, bool UseOdrIndicator=true)
ModulePass class - This class is used to implement unstructured interprocedural optimizations and ana...
API to communicate dependencies between analyses during invalidation.
LocationMetadata SourceLoc
StringRef - Represent a constant reference to a string, i.e.
A container for analyses that lazily runs them and caches their results.
This header defines various interfaces for pass management in LLVM.
A special type used by analysis passes to provide an address that identifies that particular analysis...