projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
313f9f5
)
[tsan] Disable fgetpwent_r to work around performance issues
author
Vitaly Buka
<vitalybuka@google.com>
Mon, 4 Feb 2019 23:25:55 +0000
(23:25 +0000)
committer
Vitaly Buka
<vitalybuka@google.com>
Mon, 4 Feb 2019 23:25:55 +0000
(23:25 +0000)
This was missed from D54041 when SANITIZER_INTERCEPT_FGETPWENT_R was branched from SANITIZER_INTERCEPT_GETPWENT_R
llvm-svn: 353110
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
b/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
index
b568fd5
..
b599be8
100644
(file)
--- a/
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
+++ b/
compiler-rt/lib/tsan/rtl/tsan_interceptors.cc
@@
-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.