Skip to content

Commit 470b474

Browse files
committed
Fix typo, add additional 'branch expression' clarification.
Signed-off-by: Henry Cox <[email protected]>
1 parent 106e0a6 commit 470b474

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

man/geninfo.1

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1103,9 +1103,9 @@ The following is an example branch records whose
11031103
expression values are human-readable strings.
11041104

11051105
.RS
1106-
BRDA:10,0,enable:1
1106+
BRDA:10,0,enable,1
11071107
.br
1108-
BRDA:10,0,!enable:0
1108+
BRDA:10,0,!enable,0
11091109
.RE
11101110
In this case, the corresponding code from line 10 is very likely similar to:
11111111
.br
@@ -1119,7 +1119,10 @@ In this case, the corresponding code from line 10 is very likely similar to:
11191119
.RE
11201120
such that associated testcase entered the block ('enable' evaulated to 'true').
11211121

1122-
Arbitrarily complicated branch expressions are supported.
1122+
Arbitrarily complicated branch expressions are supported - including branch expressions which contain commas (e.g., in an expression containing a function call).
1123+
1124+
Note that particular tools may or may not suppress expressions which are statically true or statically false - e.g., expressions using template parameters.
1125+
This makes it potentially complicated to compare coverage data generated by two different tools.
11231126

11241127

11251128
Branch coverage summaries are stored in two lines:

0 commit comments

Comments
 (0)