Skip to content

Commit

Permalink
[tsan] Disable fgetpwent_r to work around performance issues
Browse files Browse the repository at this point in the history
This was missed from D54041 when SANITIZER_INTERCEPT_FGETPWENT_R was branched from SANITIZER_INTERCEPT_GETPWENT_R

llvm-svn: 353110
  • Loading branch information
vitalybuka committed Feb 4, 2019
1 parent 313f9f5 commit d2a42c3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
Expand Up @@ -2213,6 +2213,7 @@ static void HandleRecvmsg(ThreadState *thr, uptr pc,
#undef SANITIZER_INTERCEPT_GETPWENT
#undef SANITIZER_INTERCEPT_GETPWENT_R
#undef SANITIZER_INTERCEPT_FGETPWENT
#undef SANITIZER_INTERCEPT_FGETPWENT_R
#undef SANITIZER_INTERCEPT_GETPWNAM_AND_FRIENDS
#undef SANITIZER_INTERCEPT_GETPWNAM_R_AND_FRIENDS
// We define our own.
Expand Down

0 comments on commit d2a42c3

Please sign in to comment.