We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 41a0f6d + 509354f commit a35fb58Copy full SHA for a35fb58
lib/Serialization/Deserialization.cpp
@@ -88,7 +88,7 @@ namespace {
88
os << IDAndKind{DeclOrOffset.get(), ID};
89
}
90
91
- os << "in '" << getNameOfModule(MF) << "'\n";
+ os << " in '" << getNameOfModule(MF) << "'\n";
92
93
};
94
@@ -4330,6 +4330,11 @@ Type ModuleFile::getType(TypeID TID) {
4330
return nullptr;
4331
4332
4333
+#ifndef NDEBUG
4334
+ PrettyStackTraceType(ctx, "deserializing", typeOrOffset.get());
4335
+ assert(!typeOrOffset.get()->hasError());
4336
+#endif
4337
+
4338
// Invoke the callback on the deserialized type.
4339
DeserializedTypeCallback(typeOrOffset);
4340
0 commit comments