diff options
author | Marco Castelluccio <mcastelluccio@mozilla.com> | 2017-10-18 00:22:01 +0000 |
---|---|---|
committer | Marco Castelluccio <mcastelluccio@mozilla.com> | 2017-10-18 00:22:01 +0000 |
commit | 17103fc12f1d279c48ce42b18554228981479e10 (patch) | |
tree | 681284eab646ef4376684336a9f489fb04f98df2 /llvm/test | |
parent | 30247fd1d9b1129afb0213f5430ad1bb2a6c9c63 (diff) | |
download | bcm5719-llvm-17103fc12f1d279c48ce42b18554228981479e10.tar.gz bcm5719-llvm-17103fc12f1d279c48ce42b18554228981479e10.zip |
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
llvm-svn: 316048
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions