Skip to content

Commit f2f4111

Browse files
author
najacque
committed
Bump ABI version to 7 for Swift 5 rdar://problem/44203212
1 parent 1993b4c commit f2f4111

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

lib/IRGen/IRGenModule.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ enum class MangledTypeRefRole {
461461
class IRGenModule {
462462
public:
463463
// The ABI version of the Swift data generated by this file.
464-
static const uint32_t swiftVersion = 6;
464+
static const uint32_t swiftVersion = 7;
465465

466466
IRGenerator &IRGen;
467467
ASTContext &Context;

test/IRGen/objc.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ class WeakObjC {
147147
// CHECK: i32 1, !"Objective-C Version", i32 2}
148148
// CHECK: i32 1, !"Objective-C Image Info Version", i32 0}
149149
// CHECK: i32 1, !"Objective-C Image Info Section", !"__DATA,__objc_imageinfo,regular,no_dead_strip"}
150-
// 67241472 == (5 << 24) | (0 << 16) | (6 << 8).
151-
// 5 and 0 is the current major.minor version. 6 is the Swift ABI version.
152-
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 83887616}
153-
// CHECK: i32 1, !"Swift Version", i32 6}
150+
// 83887872 == (5 << 24) | (0 << 16) | (7 << 8).
151+
// 5 and 0 is the current major.minor version. 7 is the Swift ABI version.
152+
// CHECK: i32 4, !"Objective-C Garbage Collection", i32 83887872}
153+
// CHECK: i32 1, !"Swift Version", i32 7}

0 commit comments

Comments
 (0)