Lines Matching defs:pc
416 void ForkBefore(ThreadState *thr, uptr pc) {
421 void ForkParentAfter(ThreadState *thr, uptr pc) {
426 void ForkChildAfter(ThreadState *thr, uptr pc) {
442 ThreadIgnoreBegin(thr, pc);
443 ThreadIgnoreSyncBegin(thr, pc);
463 u32 CurrentStackId(ThreadState *thr, uptr pc) {
466 if (pc != 0) {
473 thr->shadow_stack_pos[0] = pc;
478 if (pc != 0)
501 uptr pc = events[thr->fast_state.GetTracePos()];
502 return pc;
614 void UnalignedMemoryAccess(ThreadState *thr, uptr pc, uptr addr,
629 MemoryAccess(thr, pc, addr, kAccessSizeLog, kAccessIsWrite, kIsAtomic);
723 void MemoryAccess(ThreadState *thr, uptr pc, uptr addr,
728 (int)thr->fast_state.tid(), (void*)pc, (void*)addr,
779 TraceAddEvent(thr, fast_state, EventTypeMop, pc);
805 static void MemoryRangeSet(ThreadState *thr, uptr pc, uptr addr, uptr size,
808 (void)pc;
866 void MemoryResetRange(ThreadState *thr, uptr pc, uptr addr, uptr size) {
867 MemoryRangeSet(thr, pc, addr, size, 0);
870 void MemoryRangeFreed(ThreadState *thr, uptr pc, uptr addr, uptr size) {
878 MemoryAccessRange(thr, pc, addr, size, true);
882 TraceAddEvent(thr, thr->fast_state, EventTypeMop, pc);
889 MemoryRangeSet(thr, pc, addr, size, s.raw());
892 void MemoryRangeImitateWrite(ThreadState *thr, uptr pc, uptr addr, uptr size) {
895 TraceAddEvent(thr, thr->fast_state, EventTypeMop, pc);
901 MemoryRangeSet(thr, pc, addr, size, s.raw());
905 void FuncEntry(ThreadState *thr, uptr pc) {
907 DPrintf2("#%d: FuncEntry %p\n", (int)thr->fast_state.tid(), (void*)pc);
910 TraceAddEvent(thr, thr->fast_state, EventTypeFuncEnter, pc);
922 thr->shadow_stack_pos[0] = pc;
942 void ThreadIgnoreBegin(ThreadState *thr, uptr pc) {
949 thr->mop_ignore_set.Add(CurrentStackId(thr, pc));
953 void ThreadIgnoreEnd(ThreadState *thr, uptr pc) {
965 void ThreadIgnoreSyncBegin(ThreadState *thr, uptr pc) {
971 thr->sync_ignore_set.Add(CurrentStackId(thr, pc));
975 void ThreadIgnoreSyncEnd(ThreadState *thr, uptr pc) {