You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
392 B
16 lines
392 B
4 months ago
|
// Test that no data is collected without a runtime flag.
|
||
|
//
|
||
|
// RUN: rm -rf %t-dir
|
||
|
// RUN: mkdir -p %t-dir
|
||
|
//
|
||
|
// RUN: %clangxx_asan -fsanitize-coverage=func,trace-pc-guard %s -o %t
|
||
|
//
|
||
|
// RUN: %env_asan_opts=coverage_direct=0:coverage_dir='"%t-dir"':verbosity=1 %run %t
|
||
|
// RUN: not %sancov print %t-dir/*.sancov 2>&1
|
||
|
//
|
||
|
// UNSUPPORTED: android
|
||
|
|
||
|
int main(int argc, char **argv) {
|
||
|
return 0;
|
||
|
}
|