Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sancov] better input parameters validation
Differential Revision: https://reviews.llvm.org/D30370 llvm-svn: 296900
- Loading branch information
1 parent
45337cf
commit 8e21670
Showing
3 changed files
with
20 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
REQUIRES: aarch64-registered-target | ||
RUN: not sancov -print-coverage-pcs %p/../Inputs/test-linux_android_aarch64 2>&1 | FileCheck %s --check-prefix=AARCH64 | ||
|
||
AARCH64: Error: __sanitizer_cov* functions not found | ||
AARCH64: ERROR: __sanitizer_cov* functions not found |
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,6 @@ | ||
REQUIRES: x86_64-linux | ||
RUN: not sancov -covered-functions %p/Inputs/test-linux_x86_64 2>&1 | FileCheck --check-prefix=NOCFILE %s | ||
|
||
NOCFILE: WARNING: No coverage file for {{.*}}test-linux_x86_64 | ||
NOCFILE: ERROR: No valid coverage files given. | ||
|
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