[LLVMbugs] [Bug 15954] New: Clang's coverage files not readable by gcov

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 10 02:36:54 PDT 2013


            Bug ID: 15954
           Summary: Clang's coverage files not readable by gcov
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: magnus.reftel at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10490
  --> http://llvm.org/bugs/attachment.cgi?id=10490&action=edit
hello world and its .gc* files which make gcov segfault

If I compile a hello world program with clang --coverage (manually specifying
libclang_rt.profile-x86_64.a; see bug 15953) and then run the program, .gcno
and .gcda files are produced as expected. However, when I run "gcov hello.c",
it fails to read the files (and even segfaults - issue reported as GCC bug
57234). I'm attaching a .tar.gz with hello.c and the .gcno and .gcda files
produced by clang r181582.

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/20130510/f1ee2394/attachment.html>

More information about the llvm-bugs mailing list