Go to the documentation of this file.
13 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZER_H
14 #define LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZER_H
60 auto Pos = Entries.find(
G);
61 return (Pos != Entries.end()) ? Pos->second :
Entry();
115 bool UseOdrIndicator =
false,
125 bool UseOdrIndicator;
A set of analyses that are preserved following a run of a transformation pass.
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
A CRTP mix-in to automatically provide informational APIs needed for passes.
LocationMetadata SourceLoc
@ Runtime
Detect stack use after return if not disabled runtime with (ASAN_OPTIONS=detect_stack_use_after_retur...
const uint8_t AccessSizeIndex
Public interface to the address sanitizer module pass for instrumenting code to check for various mem...
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)
const char LLVMTargetMachineRef LLVMPassBuilderOptionsRef Options
This class implements an extremely fast bulk output stream that can only output to a stream.
API to communicate dependencies between analyses during invalidation.
An efficient, type-erasing, non-owning reference to a callable.
constexpr LLVM_NODISCARD bool empty() const
empty - Check if the string is empty.
A special type used by analysis passes to provide an address that identifies that particular analysis...
AsanDetectStackUseAfterReturnMode
Mode of ASan detect stack use after return.
A Module instance is used to store all the information related to an LLVM module.
A CRTP mix-in that provides informational APIs needed for analysis passes.
StringRef - Represent a constant reference to a string, i.e.
Machine Check Debug Module
ASanAccessInfo(int32_t Packed)
AsanDtorKind
Types of ASan module destructors supported.
@ Global
Append to llvm.global_dtors.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
A container for analyses that lazily runs them and caches their results.
AsanDetectStackUseAfterReturnMode UseAfterReturn
ModuleAddressSanitizerPass(const AddressSanitizerOptions &Options, bool UseGlobalGC=true, bool UseOdrIndicator=false, AsanDtorKind DestructorKind=AsanDtorKind::Global)