Skip to content

Commit 80e8608

Browse files
committed
Fix an ABI break
PR swiftlang#74394 removed a field from `struct MetadataSections` whose layout is ABI. So restore that field as an unused padding field to preserve the layout of all the other fields in that struct.
1 parent f995418 commit 80e8608

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/SwiftShims/swift/shims/MetadataSections.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ struct MetadataSections {
9595
MetadataSectionRange swift5_replac2;
9696
MetadataSectionRange swift5_builtin;
9797
MetadataSectionRange swift5_capture;
98+
MetadataSectionRange swift5_mpenum_unused; // No longer used
9899
MetadataSectionRange swift5_accessible_functions;
99100
MetadataSectionRange swift5_runtime_attributes;
100101
MetadataSectionRange swift5_tests;

0 commit comments

Comments
 (0)