Skip to content

Commit bb31dcc

Browse files
committed
Fix test on PE/COFF.
PE requires a singleton metadata initialization for this class when MachO and ELF don't, IIRC because of the inability to handle pointers into other libraries from data sections.
1 parent 82c190a commit bb31dcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/IRGen/async/default_actor.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55

66
// CHECK: @"$s13default_actor1ACMn" = hidden constant
77
// 0x81000050: 0x01000000 IsDefaultActor
8-
// CHECK-SAME: i32 -2130706352,
8+
// 0x81010050: the same, but using a singleton metadata initialization
9+
// CHECK-SAME: i32 {{-2130706352|-2130640816}},
910

1011
// CHECK: @"$s13default_actor1BCMn" = hidden constant
1112
// 0x62010050: 0x02000000 IndirectTypeDescriptor + 0x01000000 IsDefaultActor

0 commit comments

Comments
 (0)