• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/

Lines Matching defs:ASan

170 // ASan version script has __asan_* wildcard. Triple underscore prevents a
391 cl::desc("Place ASan constructors in comdat sections"),
733 AddressSanitizer ASan(*F.getParent(), &GlobalsMD, CompileKernel, Recover,
735 return ASan.instrumentFunction(F, TLI);
881 AddressSanitizer &ASan;
922 FunctionStackPoisoner(Function &F, AddressSanitizer &ASan)
923 : F(F), ASan(ASan), DIB(*F.getParent(), /*AllowUnresolved*/ false),
924 C(ASan.C), IntptrTy(ASan.IntptrTy),
925 IntptrPtrTy(PointerType::get(IntptrTy, 0)), Mapping(ASan.Mapping),
1029 if (!ASan.isInterestingAlloca(AI)) {
1054 if (!ASan.UseAfterScope)
1058 // Found lifetime intrinsic, add ASan instrumentation if necessary.
1076 if (!ASan.isInterestingAlloca(*AI))
1088 HasInlineAsm |= CI->isInlineAsm() && &CB != ASan.LocalDynamicShadow;
1209 "when running ASan.",
2037 // Create a separate metadata global and put it in the appropriate ASan
2843 if (ASan.UseAfterScope) {
2873 std::min<size_t>(sizeof(uint64_t), ASan.LongSize / 8);
2966 if (CopyInsertPoint == ASan.LocalDynamicShadow) {
3040 assert(ASan.isInterestingAlloca(*APC.AI));
3063 AddressSanitizer &ASan, Instruction &InsBefore,
3080 // ASan to instrument. These are moved up before InsBefore, and they're
3083 if (!Alloca || ASan.isInterestingAlloca(*Alloca))
3138 findStoresToUninstrumentedArgAllocas(ASan, *InsBefore, ArgInitInsts);
3149 ASan.getAllocaSizeInBytes(*AI),
3161 size_t MinHeaderSize = std::max((size_t)ASan.LongSize / 2, Granularity);
3174 assert(ASan.isInterestingAlloca(*APC.AI));
3191 bool DoStackMalloc = ClUseAfterReturn && !ASan.CompileKernel &&
3263 "Variable descriptions relative to ASan stack base will be dropped");
3284 ConstantInt::get(IntptrTy, ASan.LongSize / 8)),
3294 ConstantInt::get(IntptrTy, 2 * ASan.LongSize / 8)),
3301 Value *ShadowBase = ASan.memToShadow(LocalStackBase, IRB);
3358 ConstantInt::get(IntptrTy, ClassSize - ASan.LongSize / 8));
3384 // For now just insert the call to ASan runtime.