Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sancov] skip dead files from computations
Differential Revision: https://reviews.llvm.org/D27863 llvm-svn: 290017
- Loading branch information
1 parent
9529643
commit f07f9f8
Showing
5 changed files
with
70 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
REQUIRES: x86_64-linux | ||
RUN: sancov -print-coverage-stats %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s | ||
|
||
CHECK: all-edges: 9 | ||
CHECK: all-edges: 8 | ||
CHECK: cov-edges: 5 | ||
CHECK: all-functions: 3 | ||
CHECK: all-functions: 2 | ||
CHECK: cov-functions: 2 | ||
|
||
|
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,29 @@ | ||
REQUIRES: x86_64-linux | ||
RUN: sancov -symbolize -skip-dead-files=0 -strip_path_prefix="llvm/" %p/Inputs/test-linux_x86_64 %p/Inputs/test-linux_x86_64.0.sancov | FileCheck %s | ||
|
||
CHECK: { | ||
CHECK-NEXT: "covered-points" : ["4e132b", "4e1472", "4e1520", "4e1553", "4e1586"], | ||
CHECK-NEXT: "binary-hash" : "BB3CDD5045AED83906F6ADCC1C4DAF7E2596A6B5", | ||
CHECK-NEXT: "point-symbol-info" : { | ||
CHECK-NEXT: "test/tools/sancov/Inputs/foo.cpp" : { | ||
CHECK-NEXT: "foo()" : { | ||
CHECK-NEXT: "4e178c" : "5:0" | ||
CHECK-NEXT: } | ||
CHECK-NEXT: }, | ||
CHECK-NEXT: "test/tools/sancov/Inputs/test.cpp" : { | ||
CHECK-NEXT: "bar(std::string)" : { | ||
CHECK-NEXT: "4e132b" : "12:0" | ||
CHECK-NEXT: }, | ||
CHECK-NEXT: "main" : { | ||
CHECK-NEXT: "4e1472" : "14:0", | ||
CHECK-NEXT: "4e14c2" : "16:9", | ||
CHECK-NEXT: "4e1520" : "17:5", | ||
CHECK-NEXT: "4e1553" : "17:5", | ||
CHECK-NEXT: "4e1586" : "17:5", | ||
CHECK-NEXT: "4e1635" : "19:1", | ||
CHECK-NEXT: "4e1690" : "17:5" | ||
CHECK-NEXT: } | ||
CHECK-NEXT: } | ||
CHECK-NEXT: } | ||
CHECK-NEXT:} | ||
|
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