Skip to content

Commit 7f591a9

Browse files
committed
[stdlib] Add workaround for unexpected ManagedBuffer ABI mismatch
The missing symbols aren’t load bearing, so this should be fine as a temporary workaround.
1 parent 4fa87bc commit 7f591a9

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

test/abi/macOS/arm64/stdlib.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,16 @@ Added: _$sSR7isEmptySbvpMV
245245
// property descriptor for Swift.UnsafeMutableBufferPointer.isEmpty : Swift.Bool
246246
Added: _$sSr7isEmptySbvpMV
247247

248+
// Mangling issue with the generalized `ManagedBuffer`'s dummy initializer. (rdar://124644596)
249+
// dispatch thunk of Swift.ManagedBuffer.__allocating_init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
250+
Removed: _$ss13ManagedBufferC12_doNotCallMeAByxq_Gyt_tcfCTj
251+
// method descriptor for Swift.ManagedBuffer.__allocating_init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
252+
Removed: _$ss13ManagedBufferC12_doNotCallMeAByxq_Gyt_tcfCTq
253+
// dispatch thunk of (extension in Swift):Swift.ManagedBuffer< where B: ~Swift.Copyable>.init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
254+
Added: _$ss13ManagedBufferCsRic_rlE12_doNotCallMeAByxq_Gyt_tcfCTj
255+
// method descriptor for (extension in Swift):Swift.ManagedBuffer< where B: ~Swift.Copyable>.init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
256+
Added: _$ss13ManagedBufferCsRic_rlE12_doNotCallMeAByxq_Gyt_tcfCTq
257+
248258
// Runtime Symbols
249259
Added: __swift_pod_copy
250260
Added: __swift_pod_destroy

test/abi/macOS/x86_64/stdlib.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,16 @@ Added: _$sSR7isEmptySbvpMV
245245
// property descriptor for Swift.UnsafeMutableBufferPointer.isEmpty : Swift.Bool
246246
Added: _$sSr7isEmptySbvpMV
247247

248+
// Mangling issue with the generalized `ManagedBuffer`'s dummy initializer. (rdar://124644596)
249+
// dispatch thunk of Swift.ManagedBuffer.__allocating_init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
250+
Removed: _$ss13ManagedBufferC12_doNotCallMeAByxq_Gyt_tcfCTj
251+
// method descriptor for Swift.ManagedBuffer.__allocating_init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
252+
Removed: _$ss13ManagedBufferC12_doNotCallMeAByxq_Gyt_tcfCTq
253+
// dispatch thunk of (extension in Swift):Swift.ManagedBuffer< where B: ~Swift.Copyable>.init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
254+
Added: _$ss13ManagedBufferCsRic_rlE12_doNotCallMeAByxq_Gyt_tcfCTj
255+
// method descriptor for (extension in Swift):Swift.ManagedBuffer< where B: ~Swift.Copyable>.init(_doNotCallMe: ()) -> Swift.ManagedBuffer<A, B>
256+
Added: _$ss13ManagedBufferCsRic_rlE12_doNotCallMeAByxq_Gyt_tcfCTq
257+
248258
// Runtime Symbols
249259
Added: __swift_pod_copy
250260
Added: __swift_pod_destroy

0 commit comments

Comments
 (0)