You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filter coverpoints on lines that look like compiler directives in C/C++.
llvm-cov seems to generate them when translating from profile to lcov
format.
The same effect can be achieved via '--omit-lines' - but filter option
is easier for users, especially as this is a common case.
Signed-off-by: Henry Cox <[email protected]>
Copy file name to clipboardExpand all lines: man/genhtml.1
+12-2Lines changed: 12 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1936,10 +1936,20 @@ These lines seem to appear and disappear in gcov output - and cause differential
1936
1936
ignore lines which contain only whitespace (or whitespace + comments) whose 'hit' count is zero. These appear to be a 'gcov' artifact related to compiler-generated code - such as exception handlers and destructor calls at the end of scope - and can confuse differential coverage criteria.
1937
1937
.PP
1938
1938
1939
+
.IPdirective:3
1940
+
ignore lines which look like C compiler directives: #ifdef, #include, #define,
1941
+
.Ietc.
1942
+
These lines are sometimes included by
1943
+
.Illvm\-cov
1944
+
when LLVM profile data is translated to LCOV format.
1945
+
.PP
1946
+
1947
+
.IPline:3
1948
+
alias for "\-\-filter brace,blank".
1949
+
.PP
1950
+
1939
1951
.IPrange:3
1940
1952
Ignore line and branch coverpoints on lines which are out-of range/whose line number is beyond the end of the source file. These appear to be gcov artifacts caused by a macro instantiation on the last line of the file.
0 commit comments