diff options
author | Calixte Denizet <cdenizet@mozilla.com> | 2018-11-12 09:01:43 +0000 |
---|---|---|
committer | Calixte Denizet <cdenizet@mozilla.com> | 2018-11-12 09:01:43 +0000 |
commit | c6fabeac11b909f2c9f05a78c820e691a5bd693c (patch) | |
tree | 1f72d76cf89c611b63c688686d8974da2c268038 /clang/docs | |
parent | a97c4e3eee82208b3e96b7d6c1d1aa1aa3be864d (diff) |
[GCOV] Add options to filter files which must be instrumented.
Summary:
When making code coverage, a lot of files (like the ones coming from /usr/include) are removed when post-processing gcno/gcda so finally they doen't need to be instrumented nor to appear in gcno/gcda.
The goal of the patch is to be able to filter the files we want to instrument, there are several advantages to do that:
- improve speed (no overhead due to instrumentation on files we don't care)
- reduce gcno/gcda size
- it gives the possibility to easily instrument only few files (e.g. ones modified in a patch) without changing the build system
- need to accept this patch to be enabled in clang: https://reviews.llvm.org/D52034
Reviewers: marco-c, vsk
Reviewed By: marco-c
Subscribers: llvm-commits, sylvestre.ledru
Differential Revision: https://reviews.llvm.org/D52033
llvm-svn: 346641
Diffstat (limited to 'clang/docs')
0 files changed, 0 insertions, 0 deletions