[cfe-dev] clang and code coverage?
Douglas Gregor
dgregor at apple.com
Mon Aug 16 10:19:04 PDT 2010
On Aug 16, 2010, at 9:50 AM, Sean McBride wrote:
> Hi all,
>
> Is there any way to measure code coverage when using clang?
>
> The gcov docs say: "gcov works only on code compiled with GCC." Is this
> true of code built by clang? Or does clang's "GCC compatibility" design
> goal extend to this situation? If not, does/will the llvm project
> include a replacement for gcov?
Neither Clang nor LLVM have the ability to generate coverage code for gcov. I do not know of any replacements in the works.
- Doug
More information about the cfe-dev
mailing list