llvm-project/compiler-rt/lib
Marco Castelluccio 17103fc12f 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
2017-10-18 00:22:01 +00:00
..
BlocksRuntime [compiler-rt] Test commit: remove some trailing white spaces. 2017-08-25 19:36:30 +00:00
asan [Sanitizers] Add more details to ASan allocator stats report. 2017-10-13 18:38:10 +00:00
builtins [X86] Add Knights Mill CPU to cpu_indicator support to match libgcc. 2017-10-11 20:35:43 +00:00
cfi Limit CFI blacklist entries to specific CFI mode 2017-10-09 17:11:44 +00:00
dfsan [sanitizer_common] Move filesystem-related code out of sanitizer_common.cc 2017-07-22 01:46:40 +00:00
esan [esan] Use stack_t instead of struct sigaltstack (PR34011) 2017-08-22 21:54:37 +00:00
fuzzer [libFuzzer] print a better warning if we hit the ld bug 2017-10-14 00:07:11 +00:00
interception [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS 2017-10-12 18:51:41 +00:00
lsan Revert "[LSan] Detect dynamic loader by its base address." 2017-10-05 22:53:17 +00:00
msan [compiler-rt] Cleanup decorators 2017-09-11 20:55:49 +00:00
profile Use O_BINARY when opening GCDA file on Windows 2017-10-18 00:22:01 +00:00
safestack Enable SafeStack on NetBSD 2017-08-10 18:40:09 +00:00
sanitizer_common [asan] Increase kHandlerStackSize for TracerThreadSignalHandler 2017-10-15 04:18:29 +00:00
scudo [scudo] Do not include sanitizer_posix.h if not on a Posix platform 2017-10-16 17:06:13 +00:00
stats Support compiler-rt builtins 2017-07-28 03:39:38 +00:00
tsan Disable TSan tests on Android. 2017-10-11 21:22:45 +00:00
ubsan [sanitizer] Don't intercept signal and sigaction on Fuchsia 2017-10-09 18:29:52 +00:00
ubsan_minimal [ubsan-minimal] Make the interface more compatible with RTUBSan 2017-09-19 06:46:36 +00:00
xray [XRay][compiler-rt] Always place the CPU record first for every buffer 2017-10-17 10:33:24 +00:00
CMakeLists.txt [cmake] Add a separate CMake var to control profile runtime 2017-10-02 05:03:55 +00:00