Skip to content

Commit 9874915

Browse files
authored
Merge pull request #73622 from augusto2112/reenable-watch-tests
[DebugInfo] Reenable 2 failings watch tests
2 parents 264bc4f + 35f7eb7 commit 9874915

File tree

2 files changed

+9
-15
lines changed

2 files changed

+9
-15
lines changed
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,28 @@
11
// RUN: %target-swift-frontend %s -Onone -emit-ir -gdwarf-types -o - | %FileCheck %s
22

3-
// rdar://124465351
4-
// UNSUPPORTED: OS=watchos
5-
63
// File is empty as this test check for the builtin stdlib types that should
74
// always be emitted.
85

96
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$sBoD",
10-
// CHECK-SAME: size: 64, num_extra_inhabitants: {{2147483647|4096}}, flags: DIFlagArtificial,
7+
// CHECK-SAME: size: {{64|32}}, num_extra_inhabitants: {{2147483647|4096}}, flags: DIFlagArtificial,
118
// CHECK-SAME: runtimeLang: DW_LANG_Swift)
129

1310
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$syXlD",
14-
// CHECK-SAME: size: 64,
11+
// CHECK-SAME: size: {{64|32}},
1512

1613
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$sBbD",
17-
// CHECK-SAME: size: 64, num_extra_inhabitants: {{2147483647|4096}}, flags: DIFlagArtificial,
14+
// CHECK-SAME: size: {{64|32}}, num_extra_inhabitants: {{2147483647|4096}}, flags: DIFlagArtificial,
1815
// CHECK-SAME: runtimeLang: DW_LANG_Swift)
1916

2017
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$sBpD",
21-
// CHECK-SAME: size: 64, num_extra_inhabitants: 1, flags: DIFlagArtificial,
18+
// CHECK-SAME: size: {{64|32}}, num_extra_inhabitants: 1, flags: DIFlagArtificial,
2219
// CHECK-SAME: runtimeLang: DW_LANG_Swift)
2320

2421
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$syyXfD",
25-
// CHECK-SAME: size: 64,
22+
// CHECK-SAME: size: {{64|32}},
2623
// CHECK-SAME: runtimeLang: DW_LANG_Swift
2724

28-
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$sypXpD", size: 64,
25+
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "$sypXpD", size: {{64|32}},
2926
// CHECK-SAME: flags: DIFlagArtificial, runtimeLang: DW_LANG_Swift, identifier: "$sypXpD")
3027

3128

test/DebugInfo/classes.swift

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,15 @@
11
// RUN: %target-swift-frontend -primary-file %s -emit-ir -gdwarf-types -o - | %FileCheck %s
22

3-
// rdar://124465351
4-
// UNSUPPORTED: OS=watchos
5-
63
class SomeClass {
74
let first = 4
85
let second = "Hello"
96
}
107

118
// CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "SomeClass",
12-
// CHECK-SAME: size: 64, elements:
9+
// CHECK-SAME: size: {{64|32}}, elements:
1310
// CHECK-SAME: runtimeLang: DW_LANG_Swift, identifier: "$s7classes9SomeClassCD")
1411

1512
// CHECK: !DIDerivedType(tag: DW_TAG_member, name: "first",
16-
// CHECK-SAME: size: 64)
13+
// CHECK-SAME: size: {{64|32}})
1714
// CHECK: !DIDerivedType(tag: DW_TAG_member, name: "second",
18-
// CHECK-SAME: size: 128, offset: 64)
15+
// CHECK-SAME: size: {{128|96}}, offset: {{64|32}})

0 commit comments

Comments
 (0)