mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add SIL re-ingest test
This commit is contained in:
@@ -1105,9 +1105,8 @@ void Serializer::writeHeader(const SerializationOptions &options) {
|
||||
static void flattenImportPath(const ImportedModule &import,
|
||||
SmallVectorImpl<char> &out) {
|
||||
llvm::raw_svector_ostream outStream(out);
|
||||
// Write module 'real name' (returned by getReverseFullModuleName),
|
||||
// which can be different from 'name' in case module aliasing was
|
||||
// used (-module-alias flag)
|
||||
// This will write the module 'real name', which can be different
|
||||
// from the 'name' in case module aliasing was used (see `-module-alias`)
|
||||
import.importedModule->getReverseFullModuleName().printForward(
|
||||
outStream, StringRef("\0", 1));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user