Lines Matching +full:root +full:- +full:relative

1 // %s expands to an absolute path, so to test relative paths we need to create a
3 // RUN: rm -rf %t
4 // RUN: mkdir -p %t/root/nested
5 // RUN: echo "void f1(void) {}" > %t/root/nested/coverage-prefix-map.c
6 // RUN: cd %t/root
8-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
10 // ABSOLUTE: @__llvm_coverage_mapping = {{.*"\\02.*root.*nested.*coverage-prefix-map\.c}}
12-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
14 // RELATIVE: @__llvm_coverage_mapping = {{.*"\\02.*}}..{{/|\\+}}root{{/|\\+}}nested{{.*coverage-pre…
16-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
17-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
18 // COVERAGE-PREFIX-MAP: @__llvm_coverage_mapping = {{.*"\\02.*}}.{{/|\\+}}nested{{.*coverage-prefix
20-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
21 // COVERAGE-COMPILATION-DIR: @__llvm_coverage_mapping = {{.*"\\02.*}}nonsense
23 // Test that last -fcoverage-prefix-map option (-fcoverage-prefix-map==newpath) is applied.
24-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
25 // COVERAGE-PREFIX-MAP-ORDER: @__llvm_coverage_mapping = {{.*"\\02.*newpath.*root.*nested.*coverage
27 // Test that last -fcoverage-prefix-map option (-fcoverage-prefix-map=%/t/root=.) is applied.
28-fprofile-instrument=clang -fcoverage-mapping -emit-llvm -mllvm -enable-name-compression=false -ma…
29 // COVERAGE-PREFIX-MAP-REORDER: @__llvm_coverage_mapping =
30 // COVERAGE-PREFIX-MAP-REORDER-NOT: newpath
31 // COVERAGE-PREFIX-MAP-REORDER-SAME: nested{{.*coverage-prefix-map\.c}}