Skip to content

Commit ea8209a

Browse files
authored
Revert "test: update stability-stdlib-abi-with{out}-asserts.test"
1 parent 8b34fca commit ea8209a

File tree

2 files changed

+0
-54
lines changed

2 files changed

+0
-54
lines changed

test/api-digester/stability-stdlib-abi-with-asserts.test

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -64,31 +64,4 @@ Func _COWChecksEnabled() is a new API without @available attribute
6464
Func _swift_isImmutableCOWBuffer(_:) is a new API without @available attribute
6565
Func _swift_setImmutableCOWBuffer(_:_:) is a new API without @available attribute
6666

67-
// *** these are false positives due to the baseline doesn't record @_silgen_name ***
68-
Func _NSStringFromUTF8(_:_:) has mangled name changing from 'Swift._NSStringFromUTF8(Swift.UnsafePointer<Swift.UInt8>, Swift.Int) -> Swift.AnyObject' to 'swift_stdlib_NSStringFromUTF8'
69-
Func _bridgeErrorToNSError(_:) has mangled name changing from 'Swift._bridgeErrorToNSError(__owned Swift.Error) -> Swift.AnyObject' to '_swift_stdlib_bridgeErrorToNSError'
70-
Func _errorInMain(_:) has mangled name changing from 'Swift._errorInMain(Swift.Error) -> ()' to 'swift_errorInMain'
71-
Func _getAtAnyKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtAnyKeyPath<A>(root: A, keyPath: Swift.AnyKeyPath) -> Swift.Optional<Any>' to 'swift_getAtAnyKeyPath'
72-
Func _getAtKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtKeyPath<A, B>(root: A, keyPath: Swift.KeyPath<A, B>) -> B' to 'swift_getAtKeyPath'
73-
Func _getAtPartialKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtPartialKeyPath<A>(root: A, keyPath: Swift.PartialKeyPath<A>) -> Any' to 'swift_getAtPartialKeyPath'
74-
Func _getDefaultErrorCode(_:) has mangled name changing from 'Swift._getDefaultErrorCode<A where A: Swift.Error>(A) -> Swift.Int' to '_swift_stdlib_getDefaultErrorCode'
75-
Func _getDescription(_:) has mangled name changing from 'Swift._getDescription<A>(A) -> Swift.AnyObject' to 'swift_stdlib_getDescription'
76-
Func _getRetainCount(_:) has mangled name changing from 'Swift._getRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_retainCount'
77-
Func _getTypeByMangledNameInContext(_:_:genericContext:genericArguments:) has mangled name changing from 'Swift._getTypeByMangledNameInContext(_: Swift.UnsafePointer<Swift.UInt8>, _: Swift.UInt, genericContext: Swift.Optional<Swift.UnsafeRawPointer>, genericArguments: Swift.Optional<Swift.UnsafeRawPointer>) -> Swift.Optional<Any.Type>' to 'swift_getTypeByMangledNameInContext'
78-
Func _getTypeByMangledNameInEnvironment(_:_:genericEnvironment:genericArguments:) has mangled name changing from 'Swift._getTypeByMangledNameInEnvironment(_: Swift.UnsafePointer<Swift.UInt8>, _: Swift.UInt, genericEnvironment: Swift.Optional<Swift.UnsafeRawPointer>, genericArguments: Swift.Optional<Swift.UnsafeRawPointer>) -> Swift.Optional<Any.Type>' to 'swift_getTypeByMangledNameInEnvironment'
79-
Func _getTypeName(_:qualified:) has mangled name changing from 'Swift._getTypeName(_: Any.Type, qualified: Swift.Bool) -> (Swift.UnsafePointer<Swift.UInt8>, Swift.Int)' to 'swift_getTypeName'
80-
Func _getUnownedRetainCount(_:) has mangled name changing from 'Swift._getUnownedRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_unownedRetainCount'
81-
Func _getWeakRetainCount(_:) has mangled name changing from 'Swift._getWeakRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_weakRetainCount'
82-
Func _modifyAtReferenceWritableKeyPath_impl(root:keyPath:) has mangled name changing from 'Swift._modifyAtReferenceWritableKeyPath_impl<A, B>(root: A, keyPath: Swift.ReferenceWritableKeyPath<A, B>) -> (Swift.UnsafeMutablePointer<B>, Swift.Optional<Swift.AnyObject>)' to '_swift_modifyAtReferenceWritableKeyPath_impl'
83-
Func _modifyAtWritableKeyPath_impl(root:keyPath:) has mangled name changing from 'Swift._modifyAtWritableKeyPath_impl<A, B>(root: inout A, keyPath: Swift.WritableKeyPath<A, B>) -> (Swift.UnsafeMutablePointer<B>, Swift.Optional<Swift.AnyObject>)' to '_swift_modifyAtWritableKeyPath_impl'
84-
Func _setAtReferenceWritableKeyPath(root:keyPath:value:) has mangled name changing from 'Swift._setAtReferenceWritableKeyPath<A, B>(root: A, keyPath: Swift.ReferenceWritableKeyPath<A, B>, value: __owned B) -> ()' to 'swift_setAtReferenceWritableKeyPath'
85-
Func _setAtWritableKeyPath(root:keyPath:value:) has mangled name changing from 'Swift._setAtWritableKeyPath<A, B>(root: inout A, keyPath: Swift.WritableKeyPath<A, B>, value: __owned B) -> ()' to 'swift_setAtWritableKeyPath'
86-
Func _swift_bufferAllocate(bufferType:size:alignmentMask:) has mangled name changing from 'Swift._swift_bufferAllocate(bufferType: Swift.AnyObject.Type, size: Swift.Int, alignmentMask: Swift.Int) -> Swift.AnyObject' to 'swift_bufferAllocate'
87-
Func _swift_isClassOrObjCExistentialType(_:) has mangled name changing from 'Swift._swift_isClassOrObjCExistentialType<A>(A.Type) -> Swift.Bool' to '_swift_isClassOrObjCExistentialType'
88-
Func _unexpectedError(_:filenameStart:filenameLength:filenameIsASCII:line:) has mangled name changing from 'Swift._unexpectedError(_: __owned Swift.Error, filenameStart: Builtin.RawPointer, filenameLength: Builtin.Word, filenameIsASCII: Builtin.Int1, line: Builtin.Word) -> ()' to 'swift_unexpectedError'
89-
Func _usesNativeSwiftReferenceCounting(_:) has mangled name changing from 'Swift._usesNativeSwiftReferenceCounting(Swift.AnyObject.Type) -> Swift.Bool' to '_swift_objcClassUsesNativeSwiftReferenceCounting'
90-
Func getObjCClassInstanceExtents(_:) has mangled name changing from 'Swift.getObjCClassInstanceExtents(Swift.AnyObject.Type) -> (negative: Swift.UInt, positive: Swift.UInt)' to '_swift_getObjCClassInstanceExtents'
91-
Func getSwiftClassInstanceExtents(_:) has mangled name changing from 'Swift.getSwiftClassInstanceExtents(Swift.AnyObject.Type) -> (negative: Swift.UInt, positive: Swift.UInt)' to '_swift_getSwiftClassInstanceExtents'
92-
// *** these are false positives due to the baseline doesn't record @_silgen_name ***
93-
9467
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)

test/api-digester/stability-stdlib-abi-without-asserts.test

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -74,31 +74,4 @@ Enum Never has added a conformance to an existing protocol Identifiable
7474
Func SignedInteger.&+(_:_:) has been removed
7575
Func SignedInteger.&-(_:_:) has been removed
7676

77-
// *** these are false positives due to the baseline doesn't record @_silgen_name ***
78-
Func _NSStringFromUTF8(_:_:) has mangled name changing from 'Swift._NSStringFromUTF8(Swift.UnsafePointer<Swift.UInt8>, Swift.Int) -> Swift.AnyObject' to 'swift_stdlib_NSStringFromUTF8'
79-
Func _bridgeErrorToNSError(_:) has mangled name changing from 'Swift._bridgeErrorToNSError(__owned Swift.Error) -> Swift.AnyObject' to '_swift_stdlib_bridgeErrorToNSError'
80-
Func _errorInMain(_:) has mangled name changing from 'Swift._errorInMain(Swift.Error) -> ()' to 'swift_errorInMain'
81-
Func _getAtAnyKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtAnyKeyPath<A>(root: A, keyPath: Swift.AnyKeyPath) -> Swift.Optional<Any>' to 'swift_getAtAnyKeyPath'
82-
Func _getAtKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtKeyPath<A, B>(root: A, keyPath: Swift.KeyPath<A, B>) -> B' to 'swift_getAtKeyPath'
83-
Func _getAtPartialKeyPath(root:keyPath:) has mangled name changing from 'Swift._getAtPartialKeyPath<A>(root: A, keyPath: Swift.PartialKeyPath<A>) -> Any' to 'swift_getAtPartialKeyPath'
84-
Func _getDefaultErrorCode(_:) has mangled name changing from 'Swift._getDefaultErrorCode<A where A: Swift.Error>(A) -> Swift.Int' to '_swift_stdlib_getDefaultErrorCode'
85-
Func _getDescription(_:) has mangled name changing from 'Swift._getDescription<A>(A) -> Swift.AnyObject' to 'swift_stdlib_getDescription'
86-
Func _getRetainCount(_:) has mangled name changing from 'Swift._getRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_retainCount'
87-
Func _getTypeByMangledNameInContext(_:_:genericContext:genericArguments:) has mangled name changing from 'Swift._getTypeByMangledNameInContext(_: Swift.UnsafePointer<Swift.UInt8>, _: Swift.UInt, genericContext: Swift.Optional<Swift.UnsafeRawPointer>, genericArguments: Swift.Optional<Swift.UnsafeRawPointer>) -> Swift.Optional<Any.Type>' to 'swift_getTypeByMangledNameInContext'
88-
Func _getTypeByMangledNameInEnvironment(_:_:genericEnvironment:genericArguments:) has mangled name changing from 'Swift._getTypeByMangledNameInEnvironment(_: Swift.UnsafePointer<Swift.UInt8>, _: Swift.UInt, genericEnvironment: Swift.Optional<Swift.UnsafeRawPointer>, genericArguments: Swift.Optional<Swift.UnsafeRawPointer>) -> Swift.Optional<Any.Type>' to 'swift_getTypeByMangledNameInEnvironment'
89-
Func _getTypeName(_:qualified:) has mangled name changing from 'Swift._getTypeName(_: Any.Type, qualified: Swift.Bool) -> (Swift.UnsafePointer<Swift.UInt8>, Swift.Int)' to 'swift_getTypeName'
90-
Func _getUnownedRetainCount(_:) has mangled name changing from 'Swift._getUnownedRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_unownedRetainCount'
91-
Func _getWeakRetainCount(_:) has mangled name changing from 'Swift._getWeakRetainCount(Swift.AnyObject) -> Swift.UInt' to 'swift_weakRetainCount'
92-
Func _modifyAtReferenceWritableKeyPath_impl(root:keyPath:) has mangled name changing from 'Swift._modifyAtReferenceWritableKeyPath_impl<A, B>(root: A, keyPath: Swift.ReferenceWritableKeyPath<A, B>) -> (Swift.UnsafeMutablePointer<B>, Swift.Optional<Swift.AnyObject>)' to '_swift_modifyAtReferenceWritableKeyPath_impl'
93-
Func _modifyAtWritableKeyPath_impl(root:keyPath:) has mangled name changing from 'Swift._modifyAtWritableKeyPath_impl<A, B>(root: inout A, keyPath: Swift.WritableKeyPath<A, B>) -> (Swift.UnsafeMutablePointer<B>, Swift.Optional<Swift.AnyObject>)' to '_swift_modifyAtWritableKeyPath_impl'
94-
Func _setAtReferenceWritableKeyPath(root:keyPath:value:) has mangled name changing from 'Swift._setAtReferenceWritableKeyPath<A, B>(root: A, keyPath: Swift.ReferenceWritableKeyPath<A, B>, value: __owned B) -> ()' to 'swift_setAtReferenceWritableKeyPath'
95-
Func _setAtWritableKeyPath(root:keyPath:value:) has mangled name changing from 'Swift._setAtWritableKeyPath<A, B>(root: inout A, keyPath: Swift.WritableKeyPath<A, B>, value: __owned B) -> ()' to 'swift_setAtWritableKeyPath'
96-
Func _swift_bufferAllocate(bufferType:size:alignmentMask:) has mangled name changing from 'Swift._swift_bufferAllocate(bufferType: Swift.AnyObject.Type, size: Swift.Int, alignmentMask: Swift.Int) -> Swift.AnyObject' to 'swift_bufferAllocate'
97-
Func _swift_isClassOrObjCExistentialType(_:) has mangled name changing from 'Swift._swift_isClassOrObjCExistentialType<A>(A.Type) -> Swift.Bool' to '_swift_isClassOrObjCExistentialType'
98-
Func _unexpectedError(_:filenameStart:filenameLength:filenameIsASCII:line:) has mangled name changing from 'Swift._unexpectedError(_: __owned Swift.Error, filenameStart: Builtin.RawPointer, filenameLength: Builtin.Word, filenameIsASCII: Builtin.Int1, line: Builtin.Word) -> ()' to 'swift_unexpectedError'
99-
Func _usesNativeSwiftReferenceCounting(_:) has mangled name changing from 'Swift._usesNativeSwiftReferenceCounting(Swift.AnyObject.Type) -> Swift.Bool' to '_swift_objcClassUsesNativeSwiftReferenceCounting'
100-
Func getObjCClassInstanceExtents(_:) has mangled name changing from 'Swift.getObjCClassInstanceExtents(Swift.AnyObject.Type) -> (negative: Swift.UInt, positive: Swift.UInt)' to '_swift_getObjCClassInstanceExtents'
101-
Func getSwiftClassInstanceExtents(_:) has mangled name changing from 'Swift.getSwiftClassInstanceExtents(Swift.AnyObject.Type) -> (negative: Swift.UInt, positive: Swift.UInt)' to '_swift_getSwiftClassInstanceExtents'
102-
// *** these are false positives due to the baseline doesn't record @_silgen_name ***
103-
10477
// *** DO NOT DISABLE OR XFAIL THIS TEST. *** (See comment above.)

0 commit comments

Comments
 (0)