aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
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
commit17103fc12f1d279c48ce42b18554228981479e10 (patch)
tree681284eab646ef4376684336a9f489fb04f98df2 /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parent30247fd1d9b1129afb0213f5430ad1bb2a6c9c63 (diff)
downloadllvm-17103fc12f1d279c48ce42b18554228981479e10.zip
llvm-17103fc12f1d279c48ce42b18554228981479e10.tar.gz
llvm-17103fc12f1d279c48ce42b18554228981479e10.tar.bz2
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 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions