Skip to content

Commit 68c4586

Browse files
authored
Merge pull request swiftlang#40939 from mikeash/bump-reflection-libraryversion
2 parents 8192c06 + 2128a44 commit 68c4586

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)