forked from OSchip/llvm-project
[Coverage] Attempt to appease a Windows builder
The builder prints out the following IR: \5CCoverageMapping\5COutput\5Ctest\5Cf1.c The updated test in r276367 expects path separators to be either '/' or '\\', so it chokes on the unexpected "5C" stuff. I'm not sure what that is, but I included a kludge that should work around it. Failing bot: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/8718 llvm-svn: 276370
This commit is contained in:
parent
37397353cc
commit
9fc15de174
|
@ -9,7 +9,7 @@
|
|||
// RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -main-file-name abspath.cpp ../test/f1.c -o - | FileCheck -check-prefix=RELPATH %s
|
||||
|
||||
// RELPATH: @__llvm_coverage_mapping = {{.*}}"\01
|
||||
// RELPATH: {{[/\\]}}{{.*}}{{[/\\]}}test{{[/\\]}}f1.c
|
||||
// RELPATH: {{[/\\]}}{{.*}}{{[/\\][^/\\]*}}test{{[/\\][^/\\]*}}f1.c
|
||||
// RELPATH: "
|
||||
|
||||
void f1() {}
|
||||
|
|
Loading…
Reference in New Issue