You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.161
Former-commit-id: 4db48158d3a35497b8f118ab21b5f08ac3d86d98
This commit is contained in:
parent
37fbf886a3
commit
e19d552987
29
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/header.h
vendored
Normal file
29
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/header.h
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
static inline void f1() {
|
||||
#ifdef DEF
|
||||
if (false && false)
|
||||
return;
|
||||
|
||||
if (true || false || true)
|
||||
return;
|
||||
|
||||
if (true && false)
|
||||
return;
|
||||
#endif
|
||||
}
|
||||
|
||||
template<typename T>
|
||||
void f2(T **x) {
|
||||
#ifdef DEF
|
||||
if (false && false)
|
||||
*x = nullptr;
|
||||
|
||||
if (true || false || true)
|
||||
*x = nullptr;
|
||||
|
||||
if (true && false)
|
||||
*x = nullptr;
|
||||
#endif
|
||||
}
|
||||
|
||||
static inline void f3() {
|
||||
}
|
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/merged.profdata
vendored
Normal file
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/merged.profdata
vendored
Normal file
Binary file not shown.
14
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.cc
vendored
Normal file
14
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.cc
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
#define DEF
|
||||
#include "header.h"
|
||||
|
||||
int main() {
|
||||
f1();
|
||||
|
||||
int *x;
|
||||
f2(&x);
|
||||
|
||||
float *y;
|
||||
f2(&y);
|
||||
|
||||
return 0;
|
||||
}
|
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.covmapping
vendored
Normal file
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_1.covmapping
vendored
Normal file
Binary file not shown.
20
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.cc
vendored
Normal file
20
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.cc
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
#undef DEF
|
||||
#include "header.h"
|
||||
|
||||
static int foo() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
int main() {
|
||||
f1();
|
||||
|
||||
long *x;
|
||||
f2(&x);
|
||||
|
||||
double *y;
|
||||
f2(&y);
|
||||
|
||||
f3();
|
||||
|
||||
return foo();
|
||||
}
|
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.covmapping
vendored
Normal file
BIN
external/llvm/test/tools/llvm-cov/Inputs/multiple_objects/use_2.covmapping
vendored
Normal file
Binary file not shown.
Reference in New Issue
Block a user