[PATCH] D53988: Close file mapping handle on Windows, so flushed gcda files can be removed while the process is in execution

Marco Castelluccio via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 7 01:18:08 PST 2018


marco-c updated this revision to Diff 172907.
marco-c marked an inline comment as done.
marco-c added a comment.

Moved DWORD_HI and DWORD_LO to WindowsMMap.h, and removed FlushFileBuffers as it fails with ERROR_INVALID_HANDLE.


https://reviews.llvm.org/D53988

Files:
  lib/profile/GCDAProfiling.c
  lib/profile/WindowsMMap.c
  lib/profile/WindowsMMap.h
  test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c
  test/profile/Inputs/instrprof-gcov-__gcov_flush-multiple.c.gcov
  test/profile/instrprof-gcov-__gcov_flush-multiple.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D53988.172907.patch
Type: text/x-patch
Size: 6201 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181107/6dd25ca2/attachment.bin>


More information about the llvm-commits mailing list