1 // RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -mllvm -enable-name-compression=false -emit-llvm -main-file-name abspath.cpp %S/Inputs/../abspath.cpp -o - | FileCheck -check-prefix=RMDOTS %s
3 // RMDOTS: @__llvm_coverage_mapping = {{.*}}"\02
7 // RUN: mkdir -p %t/test && cd %t/test
8 // RUN: echo "void f1(void) {}" > f1.c
9 // RUN: %clang_cc1 -mllvm -emptyline-comment-coverage=false -fprofile-instrument=clang -fcoverage-mapping -mllvm -enable-name-compression=false -emit-llvm -main-file-name abspath.cpp %t/test/f1.c -o - | FileCheck -check-prefix=ABSPATH %s
11 // RELPATH: @__llvm_coverage_mapping = {{.*}}"\02
12 // RELPATH: {{..(/|\\\\)test(/|\\\\)f1}}.c
15 // ABSPATH: @__llvm_coverage_mapping = {{.*}}"\02
16 // ABSPATH: {{[/\\].*(/|\\\\)test(/|\\\\)f1}}.c