[llvm-bugs] [Bug 34923] New: Multiple processes can write to the same gcda files at the same time on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Oct 12 03:21:09 PDT 2017


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

            Bug ID: 34923
           Summary: Multiple processes can write to the same gcda files at
                    the same time on Windows
           Product: new-bugs
           Version: 5.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: mcastelluccio at mozilla.com
                CC: llvm-bugs at lists.llvm.org

flock is a no-op on Windows
(https://github.com/llvm-mirror/compiler-rt/blob/d89810afdc2862ea865f5c297ef4ea5839941d25/lib/profile/WindowsMMap.c#L122),
which means the gcda files can get corrupted if multiple processes are writing
them at the same time.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20171012/f86a3323/attachment.html>


More information about the llvm-bugs mailing list