Files
swift-mirror/lib/Serialization/Serialization.cpp
Jordan Rose 2301bff548 Add some defensive checks against invalid serialization (#22466)
If a non-serializable Decl or Type makes it into serialization logic
in a release build, an invalid swiftmodule might be produced silently,
leading to crashes in clients. Try to catch this with an on-in-Release
check that /something/ was serialized. (This is my best guess at how
rdar://problem/47459323 occurred.)
2019-02-08 09:04:08 -08:00

177 KiB