aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCDisassembler/Disassembler.cpp
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2014-09-02 12:51:11 +0000
committerDmitry Vyukov <dvyukov@google.com>2014-09-02 12:51:11 +0000
commit8bbb17dcc38be6436049173b6ee0bd927507e2fe (patch)
treec84f26c349a0412521a9dd3badfcaa73b81581e5 /llvm/lib/MC/MCDisassembler/Disassembler.cpp
parent1841219abdccb22a3218a434067a3482632a8a08 (diff)
downloadllvm-8bbb17dcc38be6436049173b6ee0bd927507e2fe.zip
llvm-8bbb17dcc38be6436049173b6ee0bd927507e2fe.tar.gz
llvm-8bbb17dcc38be6436049173b6ee0bd927507e2fe.tar.bz2
tsan: disable getpwent interceptors
There interceptors do not seem to be strictly necessary for tsan. But we see cases where the interceptors consume 70% of execution time. Memory blocks passed to fgetgrent_r are "written to" by tsan several times. First, there is some recursion (getgrnam_r calls fgetgrent_r), and each function "writes to" the buffer. Then, the same memory is "written to" twice, first as buf and then as pwbufp (both of them refer to the same addresses). llvm-svn: 216904
Diffstat (limited to 'llvm/lib/MC/MCDisassembler/Disassembler.cpp')
0 files changed, 0 insertions, 0 deletions