diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-08-03 10:22:15 +0200 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-08-09 12:39:59 +0200 |
| commit | e77ec2f482b297109d965f12880d9465d52921e6 (patch) | |
| tree | 5d1be79b2fe68cbb84a519541ab22cca9797d9a7 | |
| parent | 1db81713f6475bebd0ae689ac7139c53d2843c48 (diff) | |
| download | rust-e77ec2f482b297109d965f12880d9465d52921e6.tar.gz rust-e77ec2f482b297109d965f12880d9465d52921e6.zip | |
Fix coverage-llvmir test on Windows
@__llvm_profile_runtime is how an external hidden global.
| -rw-r--r-- | src/test/run-make/coverage-llvmir/filecheck.testprog.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-make/coverage-llvmir/filecheck.testprog.txt b/src/test/run-make/coverage-llvmir/filecheck.testprog.txt index 7a5f2192277..c943261d799 100644 --- a/src/test/run-make/coverage-llvmir/filecheck.testprog.txt +++ b/src/test/run-make/coverage-llvmir/filecheck.testprog.txt @@ -9,7 +9,7 @@ CHECK-SAME: section "[[INSTR_PROF_COVFUN]]"[[COMDAT_IF_SUPPORTED]], align 8 CHECK: @__llvm_coverage_mapping = private constant CHECK-SAME: section "[[INSTR_PROF_COVMAP]]", align 8 -WINDOWS: @__llvm_profile_runtime = external global i32 +WINDOWS: @__llvm_profile_runtime = external{{.*}}global i32 CHECK: @__profc__R{{[a-zA-Z0-9_]+}}testprog14will_be_called = {{private|internal}} global CHECK-SAME: section "[[INSTR_PROF_CNTS]]"{{.*}}, align 8 |
