summaryrefslogtreecommitdiff
path: root/test/tsan/custom_mutex.h
diff options
context:
space:
mode:
authorMarco Castelluccio <mcastelluccio@mozilla.com>2017-10-18 00:22:01 +0000
committerMarco Castelluccio <mcastelluccio@mozilla.com>2017-10-18 00:22:01 +0000
commit98adaa2097783c0fe3a4c948397e3f2182dcc5d2 (patch)
treece70f4c926e3c6ff6b86123d19cb858b726f35b6 /test/tsan/custom_mutex.h
parentd935076a8d858596911bc7638dd2db162e0a9cae (diff)
Use O_BINARY when opening GCDA file on Windows
Summary: Fixes https://bugs.llvm.org/show_bug.cgi?id=34922. Apparently, the mode in **fdopen** gets simply ignored and Windows only cares about the mode of the original **open**. I have verified this both with the simple case from bug 34922 and with a full Firefox build. Reviewers: zturner Reviewed By: zturner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D38984 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@316048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan/custom_mutex.h')
0 files changed, 0 insertions, 0 deletions