[LLVMbugs] [Bug 8030] New: Add code coverage support / create gcov replacement

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 30 14:12:37 PDT 2010


           Summary: Add code coverage support / create gcov replacement
           Product: new-bugs
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sean at rogue-research.com
                CC: llvmbugs at cs.uiuc.edu

Neither Clang nor LLVM have the ability to generate coverage code for gcov. 
Nor is there any replacement for gcov.

This means that code coverage cannot be measured when using the llvm/clang

For me, this is serious enough that I cannot switch exclusively to clang, I
must continue to support gcc as well.

On Mac OS/iOS, that's a big problem.  More and more Objective-C features
_require_ clang (ex: "@synthesize by default" and "declare ivars in class
extensions"), thus developers will be forced to choose between these nice new
features and being able to measure code coverage.  That's unfortunate.

Note: I've also filed <rdar://problem/8107317>.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list