Amin
Amin

Reputation: 251

Coverage of LLVM/Clang source code

I am building LLVM and Clang. What option should I pass in cmake to enable coverage of LLVM and Clang source code. Note, I want to get the coverage of LLVM source code itself. For example, if I run clang t.c, I want to see which parts of LLVM have been run.

Upvotes: 3

Views: 470

Answers (1)

Amin
Amin

Reputation: 251

use make ENABLE_COVERAGE=1 after 'cmake'

Upvotes: 2

Related Questions