[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 Sep 13 12:38:05 PDT 2018


vsk added a comment.

Please document the filter behavior (see docs/UsersManual.rst).



================
Comment at: include/clang/Driver/CC1Options.td:236
+def coverage_exclude_EQ : Joined<["-"], "coverage-exclude=">,
+  Alias<coverage_exclude>;
 def coverage_exit_block_before_body : Flag<["-"], "coverage-exit-block-before-body">,
----------------
Have you checked whether gcc supports similar options? If so, it would be great if we could match their name & behavior.


Repository:
  rC Clang

https://reviews.llvm.org/D52034





More information about the cfe-commits mailing list