Skip to content

Commit 2128a44

Browse files
committed
[RemoteMirror] Bump swift_reflection_libraryVersion to 3.
This indicates the presence of the fix for the async task slab size calculation in f3493bf. rdar://87607280
1 parent 840316a commit 2128a44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

include/swift/SwiftRemoteMirror/SwiftRemoteMirror.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ extern unsigned long long swift_reflection_classIsSwiftMask;
4747
/// 2 - swift_reflection_iterateAsyncTaskAllocations has been replaced by
4848
/// swift_reflection_asyncTaskSlabPointer and
4949
/// swift_reflection_asyncTaskSlabAllocations.
50+
/// 3 - The async task slab size calculation is fixed to account for alignment,
51+
/// no longer short by 8 bytes.
5052
SWIFT_REMOTE_MIRROR_LINKAGE extern uint32_t swift_reflection_libraryVersion;
5153

5254
/// Get the metadata version supported by the Remote Mirror library.

stdlib/public/SwiftRemoteMirror/SwiftRemoteMirror.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ extern "C" {
1919
SWIFT_REMOTE_MIRROR_LINKAGE
2020
unsigned long long swift_reflection_classIsSwiftMask = 2;
2121

22-
SWIFT_REMOTE_MIRROR_LINKAGE uint32_t swift_reflection_libraryVersion = 2;
22+
SWIFT_REMOTE_MIRROR_LINKAGE uint32_t swift_reflection_libraryVersion = 3;
2323
}
2424

2525
#include "swift/Demangling/Demangler.h"

0 commit comments

Comments
 (0)