Skip to content

Commit e77ec2f

Browse files
committed
Fix coverage-llvmir test on Windows
@__llvm_profile_runtime is how an external hidden global.
1 parent 1db8171 commit e77ec2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-make/coverage-llvmir/filecheck.testprog.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ CHECK-SAME: section "[[INSTR_PROF_COVFUN]]"[[COMDAT_IF_SUPPORTED]], align 8
99
CHECK: @__llvm_coverage_mapping = private constant
1010
CHECK-SAME: section "[[INSTR_PROF_COVMAP]]", align 8
1111

12-
WINDOWS: @__llvm_profile_runtime = external global i32
12+
WINDOWS: @__llvm_profile_runtime = external{{.*}}global i32
1313

1414
CHECK: @__profc__R{{[a-zA-Z0-9_]+}}testprog14will_be_called = {{private|internal}} global
1515
CHECK-SAME: section "[[INSTR_PROF_CNTS]]"{{.*}}, align 8

0 commit comments

Comments
 (0)