Skip to content

Commit f9429f9

Browse files
committed
Gardening: Migrate test suite to GH issues: Profiler
1 parent 9b92468 commit f9429f9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

test/Profiler/coverage_closures.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ func foo() {
3535
f1 { left, right in left == 0 || right == 1 }
3636
}
3737

38-
// SR-2615: Display coverage for implicit member initializers without crashing
38+
// https://github.com/apple/swift/issues/45220
39+
// Display coverage for implicit member initializers without crashing.
3940
struct C1 {
4041
// CHECK-LABEL: sil_coverage_map{{.*}}// variable initialization expression of coverage_closures.C1
4142
// CHECK-NEXT: [[@LINE+1]]:24 -> [[@LINE+1]]:34 : 0

test/Profiler/coverage_lazy.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// RUN: %target-swift-frontend -Xllvm -sil-full-demangle -profile-generate -profile-coverage-mapping -emit-sil -module-name coverage_lazy %s | %FileCheck %s
22
// RUN: %target-swift-frontend -profile-generate -profile-coverage-mapping -emit-ir %s
33

4-
// Test that the crash from SR-8429 is avoided, and that we generate the
5-
// correct coverage.
4+
// Test that the crash from https://github.com/apple/swift/issues/50953 is
5+
// avoided, and that we generate the correct coverage.
66
class C {
77
// CHECK-LABEL: sil hidden [lazy_getter] [noinline] @$s13coverage_lazy1CC6offsetSivg : $@convention(method) (@guaranteed C) -> Int
88
// CHECK: switch_enum {{%[0-9]+}} : $Optional<Int>, case #Optional.some!enumelt: {{bb[0-9]}}, case #Optional.none!enumelt: [[INITBB:bb[0-9]]]

0 commit comments

Comments
 (0)