llvm-project/compiler-rt/lib/profile
Marco Castelluccio ff4da375ae Implement flock for Windows in compiler-rt
Summary:
This patch implements flock for Windows, needed to make gcda writing work in a multiprocessing scenario.

Fixes https://bugs.llvm.org/show_bug.cgi?id=34923.

Reviewers: zturner

Reviewed By: zturner

Subscribers: rnk, zturner, llvm-commits

Differential Revision: https://reviews.llvm.org/D38891

llvm-svn: 317705
2017-11-08 19:11:54 +00:00
..
CMakeLists.txt [profile] Move __llvm_profile_filename into a separate object 2017-06-29 17:42:24 +00:00
GCDAProfiling.c Use O_BINARY when opening GCDA file on Windows 2017-10-18 00:22:01 +00:00
InstrProfData.inc [profile] Update InstrProfData.inc 2017-09-18 23:37:32 +00:00
InstrProfiling.c [profile] Move __llvm_profile_filename into a separate object 2017-06-29 17:42:24 +00:00
InstrProfiling.h Revert r312240 2017-08-31 15:51:23 +00:00
InstrProfilingBuffer.c [PGO] Reduce IO in profile dumping with merging 2017-06-28 16:46:06 +00:00
InstrProfilingFile.c Revert r312240 2017-08-31 15:51:23 +00:00
InstrProfilingInternal.h Revert r312240 2017-08-31 15:51:23 +00:00
InstrProfilingMerge.c [profile] in-process merging support part-3 2016-06-08 23:43:56 +00:00
InstrProfilingMergeFile.c [PGO] internal API name cleanups (for better consistency) 2016-03-06 04:18:13 +00:00
InstrProfilingNameVar.c [profile] Fix warning about C++ style comment in C file 2017-08-22 21:54:37 +00:00
InstrProfilingPlatformDarwin.c [profile] initialize static pool properly 2016-05-22 16:36:03 +00:00
InstrProfilingPlatformLinux.c [profile] initialize static pool properly 2016-05-22 16:36:03 +00:00
InstrProfilingPlatformOther.c [profile] initialize static pool properly 2016-05-22 16:36:03 +00:00
InstrProfilingPort.h [profile] use GetComputerNameExW instead of gethostname on Windows 2016-11-29 15:24:00 +00:00
InstrProfilingRuntime.cc [Profile] cleanup: do not reference name directly of vars shared between rt and llvm 2016-07-22 04:08:16 +00:00
InstrProfilingUtil.c Revert r310857 due to internal test failure 2017-08-15 03:13:01 +00:00
InstrProfilingUtil.h Revert r312240 2017-08-31 15:51:23 +00:00
InstrProfilingValue.c Change INSTR_PROF_DEFAULT_NUM_VAL_PER_SITE from 8 to 16. 2017-07-28 15:00:30 +00:00
InstrProfilingWriter.c [PGO] Reduce IO in profile dumping with merging 2017-06-28 16:46:06 +00:00
WindowsMMap.c Implement flock for Windows in compiler-rt 2017-11-08 19:11:54 +00:00
WindowsMMap.h Fix most MSVC warnings in compiler-rt profiling library 2016-06-17 18:12:50 +00:00