forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
llvm-cov: Added -f option for function summaries.
Similar to the file summaries, the function summaries output line, branching and call statistics. The file summaries have been moved outside the initial loop so that all of the function summaries can be outputted before file summaries. Also updated test cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197633 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
1 parent
deb8e33
commit d218959
Showing
6 changed files
with
211 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
Function '_ZN1A1BEv' | ||
Lines executed:100.00% of 1 | ||
No branches | ||
No calls | ||
|
||
Function '_Z7uselessv' | ||
Lines executed:0.00% of 1 | ||
No branches | ||
No calls | ||
|
||
Function '_Z12more_uselessv' | ||
Lines executed:0.00% of 1 | ||
No branches | ||
No calls | ||
|
||
Function '_Z3foov' | ||
Lines executed:100.00% of 2 | ||
No branches | ||
No calls | ||
|
||
Function '_Z3barv' | ||
Lines executed:0.00% of 2 | ||
No branches | ||
No calls | ||
|
||
Function '_Z6assignii' | ||
Lines executed:100.00% of 3 | ||
No branches | ||
No calls | ||
|
||
Function '_Z15initialize_gridv' | ||
Lines executed:100.00% of 4 | ||
Branches executed:100.00% of 4 | ||
Taken at least once:100.00% of 4 | ||
No calls | ||
|
||
Function 'main' | ||
Lines executed:91.67% of 24 | ||
Branches executed:100.00% of 11 | ||
Taken at least once:81.82% of 11 | ||
No calls | ||
|
||
Function '_ZN1AC1Ev' | ||
Lines executed:100.00% of 1 | ||
No branches | ||
No calls | ||
|
||
Function '_ZN1AC2Ev' | ||
No executable lines | ||
No branches | ||
No calls | ||
|
||
File 'test.cpp' | ||
Lines executed:84.21% of 38 | ||
Branches executed:100.00% of 15 | ||
Taken at least once:86.67% of 15 | ||
No calls | ||
test.cpp:creating 'test.cpp.gcov' | ||
|
||
File './test.h' | ||
Lines executed:100.00% of 1 | ||
No branches | ||
No calls | ||
./test.h:creating 'test.h.gcov' | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Function '_ZN1A1BEv' | ||
Lines executed:100.00% of 1 | ||
|
||
Function '_Z7uselessv' | ||
Lines executed:0.00% of 1 | ||
|
||
Function '_Z12more_uselessv' | ||
Lines executed:0.00% of 1 | ||
|
||
Function '_Z3foov' | ||
Lines executed:100.00% of 2 | ||
|
||
Function '_Z3barv' | ||
Lines executed:0.00% of 2 | ||
|
||
Function '_Z6assignii' | ||
Lines executed:100.00% of 3 | ||
|
||
Function '_Z15initialize_gridv' | ||
Lines executed:100.00% of 4 | ||
|
||
Function 'main' | ||
Lines executed:91.67% of 24 | ||
|
||
Function '_ZN1AC1Ev' | ||
Lines executed:100.00% of 1 | ||
|
||
Function '_ZN1AC2Ev' | ||
Lines executed:100.00% of 1 | ||
|
||
File 'test.cpp' | ||
Lines executed:84.21% of 38 | ||
test.cpp:creating 'test.cpp.gcov' | ||
|
||
File './test.h' | ||
Lines executed:100.00% of 1 | ||
./test.h:creating './test.h.gcov' | ||
|
This file contains 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 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