You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
@ -1,20 +0,0 @@
|
||||
#include "Inputs/zeroFunctionFile.h"
|
||||
|
||||
int foo(int x) {
|
||||
return NOFUNCTIONS(x);
|
||||
}
|
||||
int main() {
|
||||
return foo(2);
|
||||
}
|
||||
|
||||
// RUN: llvm-profdata merge %S/Inputs/zeroFunctionFile.proftext -o %t.profdata
|
||||
|
||||
// RUN: llvm-cov report %S/Inputs/zeroFunctionFile.covmapping -instr-profile %t.profdata 2>&1 | FileCheck --check-prefix=REPORT --strict-whitespace %s
|
||||
// REPORT: Files which contain no functions
|
||||
// REPORT: zeroFunctionFile.h
|
||||
|
||||
// RUN: llvm-cov show -j 1 %S/Inputs/zeroFunctionFile.covmapping -format html -instr-profile %t.profdata -o %t.dir
|
||||
// RUN: FileCheck %s -input-file=%t.dir/index.html -check-prefix=HTML
|
||||
// HTML-NO: 0.00% (0/0)
|
||||
// HTML: Files which contain no functions
|
||||
// HTML: zeroFunctionFile.h
|
Reference in New Issue
Block a user