[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
Mon Nov 5 16:37:56 PST 2018
marco-c updated this revision to Diff 172682.
marco-c added a comment.
Made mmap_handle NULL by default (as CreateFileMapping returns NULL on failure and not INVALID_HANDLE_VALUE).
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.172682.patch
Type: text/x-patch
Size: 5040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181106/174da780/attachment.bin>
More information about the llvm-commits
mailing list