reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/Instrumentation/SanitizerCoverage.cpp
  865   IRB.SetCurrentDebugLocation(EntryLoc);
  867     IRB.CreateCall(SanCovTracePC); // gets the PC using GET_CALLER_PC.
  868     IRB.CreateCall(EmptyAsm, {}); // Avoids callback merge.
  871     auto GuardPtr = IRB.CreateIntToPtr(
  872         IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy),
  872         IRB.CreateAdd(IRB.CreatePointerCast(FunctionGuardArray, IntptrTy),
  875     IRB.CreateCall(SanCovTracePCGuard, GuardPtr);
  876     IRB.CreateCall(EmptyAsm, {}); // Avoids callback merge.
  879     auto CounterPtr = IRB.CreateGEP(
  882     auto Load = IRB.CreateLoad(Int8Ty, CounterPtr);
  883     auto Inc = IRB.CreateAdd(Load, ConstantInt::get(Int8Ty, 1));
  884     auto Store = IRB.CreateStore(Inc, CounterPtr);
  893         IRB.getInt8PtrTy(M->getDataLayout().getAllocaAddrSpace()));
  895         IRB.CreateCall(GetFrameAddr, {Constant::getNullValue(Int32Ty)});
  896     auto FrameAddrInt = IRB.CreatePtrToInt(FrameAddrPtr, IntptrTy);
  897     auto LowestStack = IRB.CreateLoad(IntptrTy, SanCovLowestStack);
  898     auto IsStackLower = IRB.CreateICmpULT(FrameAddrInt, LowestStack);