[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
Tue Nov 6 02:22:03 PST 2018
marco-c updated this revision to Diff 172727.
marco-c added a comment.
Add calls to FlushViewOfFile and FlushFileBuffers when unmapping to be sure that all the data is written to disk.
https://reviews.llvm.org/D53988
Files:
lib/profile/GCDAProfiling.c
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.172727.patch
Type: text/x-patch
Size: 5622 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181106/78e8b094/attachment.bin>
More information about the llvm-commits
mailing list