@@ -483,8 +483,8 @@ void __tsan_mutex_pre_lock(void *m, unsigned flagz) {
483
483
else
484
484
MutexPreLock (thr, pc, (uptr)m);
485
485
}
486
- ThreadIgnoreBegin (thr, pc, false );
487
- ThreadIgnoreSyncBegin (thr, pc, false );
486
+ ThreadIgnoreBegin (thr, pc, /* save_stack= */ false );
487
+ ThreadIgnoreSyncBegin (thr, pc, /* save_stack= */ false );
488
488
}
489
489
490
490
INTERFACE_ATTRIBUTE
@@ -510,8 +510,8 @@ int __tsan_mutex_pre_unlock(void *m, unsigned flagz) {
510
510
} else {
511
511
ret = MutexUnlock (thr, pc, (uptr)m, flagz);
512
512
}
513
- ThreadIgnoreBegin (thr, pc, false );
514
- ThreadIgnoreSyncBegin (thr, pc, false );
513
+ ThreadIgnoreBegin (thr, pc, /* save_stack= */ false );
514
+ ThreadIgnoreSyncBegin (thr, pc, /* save_stack= */ false );
515
515
return ret;
516
516
}
517
517
@@ -525,8 +525,8 @@ void __tsan_mutex_post_unlock(void *m, unsigned flagz) {
525
525
INTERFACE_ATTRIBUTE
526
526
void __tsan_mutex_pre_signal (void *addr, unsigned flagz) {
527
527
SCOPED_ANNOTATION (__tsan_mutex_pre_signal);
528
- ThreadIgnoreBegin (thr, pc, false );
529
- ThreadIgnoreSyncBegin (thr, pc, false );
528
+ ThreadIgnoreBegin (thr, pc, /* save_stack= */ false );
529
+ ThreadIgnoreSyncBegin (thr, pc, /* save_stack= */ false );
530
530
}
531
531
532
532
INTERFACE_ATTRIBUTE
@@ -547,7 +547,7 @@ void __tsan_mutex_pre_divert(void *addr, unsigned flagz) {
547
547
INTERFACE_ATTRIBUTE
548
548
void __tsan_mutex_post_divert (void *addr, unsigned flagz) {
549
549
SCOPED_ANNOTATION (__tsan_mutex_post_divert);
550
- ThreadIgnoreBegin (thr, pc, false );
551
- ThreadIgnoreSyncBegin (thr, pc, false );
550
+ ThreadIgnoreBegin (thr, pc, /* save_stack= */ false );
551
+ ThreadIgnoreSyncBegin (thr, pc, /* save_stack= */ false );
552
552
}
553
553
} // extern "C"
0 commit comments