[llvm-bugs] [Bug 38256] New: Is instrumentation profile threading-unaware?

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Jul 21 07:26:42 PDT 2018


            Bug ID: 38256
           Summary: Is instrumentation profile threading-unaware?
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: lebedev.ri at gmail.com
                CC: llvm-bugs at lists.llvm.org

I'm failing to come up with a minimal reproducer right now,
but if a program is built with threading (-fopenmp),
and does some work in threads, then even though the 'llvm-profdata merge'
does not complain, the `llvm-cov show` fails with:
error: <binary>: Failed to load coverage: Malformed coverage data

I *thought* it worked before. Is that expected/intentional behaviour?
This is with llvm/clang trunk.

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/20180721/4b2cff4a/attachment.html>

More information about the llvm-bugs mailing list