Gardening: Migrate test suite to GH issues: DebugInfo

This commit is contained in:
Anthony Latsis
2022-08-21 03:00:44 +03:00
parent d820fcf731
commit f8f9b5f8d0
3 changed files with 6 additions and 4 deletions

View File

@@ -6,8 +6,8 @@ import Swift
sil_scope 2 { loc "simple.swift":1:2 parent @test_debug_value : $@convention(thin) (Int) -> () }
// SR-14868: Incorrect source location on `llvm.dbg.declare` when the input
// is SIL file.
// https://github.com/apple/swift/issues/57215
// Incorrect source location on 'llvm.dbg.declare' when the input is a SIL file
// CHECK: @test_debug_value
// CHECK-SAME: !dbg ![[FUNC_DI:[0-9]+]]

View File

@@ -5,7 +5,9 @@
import Swift
// Test that DCE correctly preserves debug locations.
// SR-15300: Compiler crash when using Builtin.unreachable in initializers
// https://github.com/apple/swift/issues/57622
// Compiler crash when using 'Builtin.unreachable' in initializers
//
// CHECK: sil_scope [[S1:[0-9]+]] { {{.*}} parent @$s18optimizer_pipeline1AVyACs13KeyValuePairsVyypypGcfC
// CHECK: sil_scope [[S2:[0-9]+]] { {{.*}} parent [[S1]] }

View File

@@ -1,6 +1,6 @@
// RUN: %target-swift-frontend -emit-ir -g -primary-file %s
// https://bugs.swift.org/browse/SR-14016
// https://github.com/apple/swift/issues/56409
public struct PowerCollection<C : Collection> : Collection {
public typealias Index = [C.Index]