-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[Coverage][Single] Enable Branch coverage for loop statements #113109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
chapuni
wants to merge
56
commits into
users/chapuni/cov/single/nextcount
Choose a base branch
from
users/chapuni/cov/single/loop
base: users/chapuni/cov/single/nextcount
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 35 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
178b57c
[Coverage] Move SingleByteCoverage out of CountedRegion
chapuni aacb50d
[Coverage] Make SingleByteCoverage work consistent to merging
chapuni b9bbc7c
Rework. (Also reverts "[Coverage] Move SingleByteCoverage out of Cou…
chapuni 52f072e
clang/test/CoverageMapping/single-byte-counters.cpp: Rewrite counter …
chapuni 78e33ba
Merge branches 'users/chapuni/cov/single/test' and 'users/chapuni/cov…
chapuni 5d19c77
[Coverage][Single] Enable Branch coverage for loop statements
chapuni bc708d5
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni 42735ff
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni 2842382
update
chapuni 97a4a8f
test/llvm-cov: Transform %.c* tests to {%.test, Inputs/%.c*}
chapuni c50c492
Introduce test/llvm-cov/Inputs/yaml.makefile for convenience.
chapuni d7c5b44
Add tests for SingleByteCoverage
chapuni 6675226
Merge branch 'users/chapuni/cov/single/test' into users/chapuni/cov/s…
chapuni 5fc3408
Fix a test to fix linecount=1
chapuni d086491
Merge branch 'users/chapuni/cov/single/merge' into users/chapuni/cov/…
chapuni bb08de0
Merge branch 'users/chapuni/cov/single/merge' into users/chapuni/cov/…
chapuni 8a3ef7c
Update single tests
chapuni e2f97d7
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni eb7fff9
threads.c: Fixup on the clean testdir
chapuni 7543095
Rename threads.c to threads.test since it is no longer C source file.
chapuni 00ac90d
llvm/test/tools/llvm-cov/Inputs: Avoid wildcards `rm -rf %t*.dir`
chapuni fcb3ee8
Merge branch 'main' into users/chapuni/cov/single/test
chapuni 5fa862a
Use `[[#min(C,n)]]` for tests
chapuni 805e9a9
llvm-cov: Introduce `--binary-counters`
chapuni 68d7b3b
Merge branch 'users/chapuni/cov/single/test' into users/chapuni/cov/s…
chapuni 24457a7
Update tests
chapuni 805dbd9
Merge branches 'users/chapuni/cov/single/merge' and 'users/chapuni/co…
chapuni f96b435
New SingleByteCoverage
chapuni 2968ea6
Merge branch 'users/chapuni/cov/single/refactor' into users/chapuni/c…
chapuni cb3f959
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni 816484f
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni 47550d1
threads.c => threads.test (following #113114)
chapuni 42c0c26
clang/test: Add tests that we missed while I was updating.
chapuni c0a93e2
Merge branches 'users/chapuni/cov/single/test' and 'users/chapuni/cov…
chapuni 621263c
Update the test
chapuni 39398a2
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni f4dc4eb
s/Count1/BinaryCount/
chapuni 822620b
Update desc
chapuni 658bd48
Merge branch 'main' into users/chapuni/cov/binary
chapuni 0780993
Merge branch 'users/chapuni/cov/binary' into users/chapuni/cov/single…
chapuni 5dfe3e7
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni 1adf497
Eliminate (rewind) "refactor" changes
chapuni 82b5913
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni dfc99ba
Fix wrong merge resolutions
chapuni f3c9593
Reorganize CoverageMapping::SingleByteCoverage
chapuni 3780e07
Prune commented-out line
chapuni 894c383
Merge branch 'main' into users/chapuni/cov/single/refactor
chapuni 7c26a2a
Merge branch 'main' into users/chapuni/cov/single/refactor
chapuni e11930a
Merge branch 'users/chapuni/cov/single/refactor' into users/chapuni/c…
chapuni ad7b753
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni 3069477
Merge branch 'main' into users/chapuni/cov/single/base
chapuni 80d7b86
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni e7fd5cd
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni 4428c9d
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni bdcf47e
Merge branch 'users/chapuni/cov/single/nextcount' into users/chapuni/…
chapuni df025eb
Merge branch 'users/chapuni/cov/single/base' into users/chapuni/cov/s…
chapuni File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment on boolean parameter for readability?
e.g.
/*var=*/true
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. See also #120930.