Merge pull request #19415 from jckarter/better-missing-metadata-warnings

Make runtime warnings about missing metadata more descriptive.
This commit is contained in:
Joe Groff
2018-09-20 15:40:17 -07:00
committed by GitHub
4 changed files with 82 additions and 13 deletions

View File

@@ -259,3 +259,15 @@ SWIFT_RUNTIME_STDLIB_SPI
const HeapObject *swift_getKeyPathImpl(const void *p, const void *a) {
abort();
}
// playground print hook
struct swift_closure {
void *fptr;
HeapObject *context;
};
SWIFT_RUNTIME_STDLIB_API SWIFT_CC(swift) swift_closure
MANGLE_SYM(s20_playgroundPrintHookySScSgvg)() {
return {nullptr, nullptr};
}