http://llvm.org/bugs/show_bug.cgi?id=15954

            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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to