[runtime] Clean up symbols in error machinery. (#12853)

* [runtime] Clean up symbols in error machinery.

* [runtime] Clean up symbols in Foundation overlay.

* [runtime] Clean up symbols in collections and hashing.

* [runtime] Remove symbol controls from the Linux definition of swift_allocError.

* [tests] Add more stub functions for tests that link directly to the runtime.
This commit is contained in:
Greg Parker
2017-11-15 22:20:11 -08:00
committed by GitHub
parent b77374a5fb
commit 1e894cd80b
34 changed files with 405 additions and 266 deletions

View File

@@ -64,7 +64,6 @@ static const FullMetadata<HeapMetadata> ErrorMetadata{
Metadata{MetadataKind::ErrorObject},
};
SWIFT_CC(swift) SWIFT_RUNTIME_EXPORT
BoxPair::Return
swift::swift_allocError(const swift::Metadata *type,
const swift::WitnessTable *errorConformance,