[PATCH] D52034: [Clang] Add options -Xclang -coverage-filter and -Xclang -coverage-exclude to filter the files to instrument with gcov

Vedant Kumar via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 25 10:01:54 PDT 2018


vsk added a comment.

In https://reviews.llvm.org/D52034#1246379, @calixte wrote:

> I reported a bug for gcc: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87442


Thank you!

> @vsk I'd like to add documentation in Docs/UsersManual.rst, but I've no idea on what's a good place for this (I look for option -coverage-no-function-names-in-data, but I didn't get anything). So could you give a me a clue please ?

That's the right file to edit. Please create a section for gcov-based profiling. I won't ask that you describe the entire gcov pipeline, but it would really help to have a description of the driver flags you're adding & some examples of how to use them.


Repository:
  rC Clang

https://reviews.llvm.org/D52034





More information about the cfe-commits mailing list