mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add '-sil-serialize-all' testing option to the new frontend.
Swift SVN r13190
This commit is contained in:
@@ -150,8 +150,10 @@ static bool performCompile(CompilerInstance &Instance,
|
||||
if (!Invocation.getFrontendOptions().ModuleOutputPath.empty()) {
|
||||
auto DC = PrimarySourceFile ? ModuleOrSourceFile(PrimarySourceFile) :
|
||||
Instance.getMainModule();
|
||||
serialize(DC, SM.get(),
|
||||
serialize(DC,
|
||||
Invocation.getFrontendOptions().ModuleOutputPath.c_str(),
|
||||
SM.get(),
|
||||
Invocation.getFrontendOptions().SILSerializeAll,
|
||||
Invocation.getFrontendOptions().InputFilenames,
|
||||
Invocation.getFrontendOptions().ModuleLinkName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user