Lines Matching defs:AddressSanitizer
448 struct AddressSanitizer : public FunctionPass { struct
449 explicit AddressSanitizer(bool CompileKernel = false, bool Recover = false, in AddressSanitizer() function
456 const char *getPassName() const override { in getPassName()
459 void getAnalysisUsage(AnalysisUsage &AU) const override { in getAnalysisUsage()
463 uint64_t getAllocaSizeInBytes(AllocaInst *AI) const { in getAllocaSizeInBytes()
504 static char ID; // Pass identification, replacement for typeid
506 DominatorTree &getDominatorTree() const { return *DT; } in getDominatorTree()
517 struct FunctionStateRAII {
526 LLVMContext *C;
527 Triple TargetTriple;
528 int LongSize;
529 bool CompileKernel;
530 bool Recover;
531 bool UseAfterScope;
532 Type *IntptrTy;
533 ShadowMapping Mapping;
534 DominatorTree *DT;
535 Function *AsanCtorFunction = nullptr;
536 Function *AsanInitFunction = nullptr;
537 Function *AsanHandleNoReturnFunc;
538 Function *AsanPtrCmpFunction, *AsanPtrSubFunction;
540 Function *AsanErrorCallback[2][2][kNumberOfAccessSizes];
541 Function *AsanMemoryAccessCallback[2][2][kNumberOfAccessSizes];
543 Function *AsanErrorCallbackSized[2][2];
544 Function *AsanMemoryAccessCallbackSized[2][2];
545 Function *AsanMemmove, *AsanMemcpy, *AsanMemset;
546 InlineAsm *EmptyAsm;
547 GlobalsMetadata GlobalsMD;
548 DenseMap<AllocaInst *, bool> ProcessedAllocas;