diff --git a/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/bar.h b/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/bar.h new file mode 100644 --- /dev/null +++ b/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/bar.h @@ -0,0 +1,3 @@ +int bar() { + return 0; +} diff --git a/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/main.cc b/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/main.cc new file mode 100644 --- /dev/null +++ b/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/main.cc @@ -0,0 +1,9 @@ +#include "bar.h" + +int foo() { + return 1; +} + +int main() { + return bar(); +} diff --git a/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/main.covmapping b/llvm/test/tools/llvm-cov/Inputs/coverage_prefix_map/main.covmapping new file mode 100644 index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 GIT binary patch literal 0 Hc$@