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

            Bug ID: 39520
           Summary: File mapping handles are leaked
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: profile
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

This means that gcda files, when gcda files from a previous execution exist,
are kept open until the process terminates.
This makes it impossible to profile subset of a program execution (where you
want to flush gcda files and remove them before the beginning of the region of
interest, then flush them at the end of the region of interest).

https://reviews.llvm.org/D51974 should fix this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to