Home
last modified time | relevance | path

Searched refs:OnAccessFunc (Results 1 – 1 of 1) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DThreadSanitizer.cpp641 FunctionCallee OnAccessFunc = nullptr; in instrumentLoadOrStore() local
644 OnAccessFunc = TsanCompoundRW[Idx]; in instrumentLoadOrStore()
646 OnAccessFunc = IsWrite ? TsanVolatileWrite[Idx] : TsanVolatileRead[Idx]; in instrumentLoadOrStore()
648 OnAccessFunc = IsWrite ? TsanWrite[Idx] : TsanRead[Idx]; in instrumentLoadOrStore()
651 OnAccessFunc = TsanUnalignedCompoundRW[Idx]; in instrumentLoadOrStore()
653 OnAccessFunc = IsWrite ? TsanUnalignedVolatileWrite[Idx] in instrumentLoadOrStore()
656 OnAccessFunc = IsWrite ? TsanUnalignedWrite[Idx] : TsanUnalignedRead[Idx]; in instrumentLoadOrStore()
658 IRB.CreateCall(OnAccessFunc, IRB.CreatePointerCast(Addr, IRB.getInt8PtrTy())); in instrumentLoadOrStore()