Go to the documentation of this file.
13 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZER_H
14 #define LLVM_TRANSFORMS_INSTRUMENTATION_ADDRESSSANITIZER_H
39 bool UseGlobalGC =
true,
bool UseOdrIndicator =
true,
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.
AsanCtorKind
Types of ASan module constructors supported.
PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM)
@ Runtime
Detect stack use after return if not disabled runtime with (ASAN_OPTIONS=detect_stack_use_after_retur...
const uint8_t AccessSizeIndex
const char LLVMTargetMachineRef LLVMPassBuilderOptionsRef Options
This class implements an extremely fast bulk output stream that can only output to a stream.
An efficient, type-erasing, non-owning reference to a callable.
AddressSanitizerPass(const AddressSanitizerOptions &Options, bool UseGlobalGC=true, bool UseOdrIndicator=true, AsanDtorKind DestructorKind=AsanDtorKind::Global, AsanCtorKind ConstructorKind=AsanCtorKind::Global)
AsanDetectStackUseAfterReturnMode
Mode of ASan detect stack use after return.
A Module instance is used to store all the information related to an LLVM module.
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.
Public interface to the address sanitizer module pass for instrumenting code to check for various mem...
A container for analyses that lazily runs them and caches their results.
AsanDetectStackUseAfterReturnMode UseAfterReturn
void printPipeline(raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName)