Skip to content

Commit 2067402

Browse files
adrian-prantlgottesmm
authored andcommitted
Port testcase to llvm-800.
(cherry picked from commit a26ca57)
1 parent 7b7122f commit 2067402

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/DebugInfo/basic.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ func foo(_ a: Int64, _ b: Int64) -> Int64 {
6767

6868
// Function type for foo.
6969
// CHECK-DAG: ![[FOOTYPE]] = !DISubroutineType(types: ![[PARAMTYPES:[0-9]+]])
70-
// CHECK-DAG: ![[PARAMTYPES]] = !{!"_TtVs5Int64", !"_TtVs5Int64", !"_TtVs5Int64"}
70+
// CHECK-DAG: ![[INT64:.*]] = !DICompositeType(tag: DW_TAG_structure_type, name: "Int64", {{.*}}, identifier: "_TtVs5Int64")
71+
// CHECK-DAG: ![[PARAMTYPES]] = !{![[INT64]], ![[INT64]], ![[INT64]]}
7172
// Import of the main module with the implicit name.
7273
// CHECK-DAG: !DIImportedEntity(tag: DW_TAG_imported_module, scope: ![[MAINFILE]], entity: ![[MAINMODULE:[0-9]+]], line: 1)
7374
// CHECK-DAG: ![[MAINMODULE]] = !DIModule({{.*}}, name: "basic"

0 commit comments

Comments
 (0)