mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #41431 from compnerd/externally-consumed-internally
IRGen: internalize symbols with `-static`
This commit is contained in:
@@ -2202,6 +2202,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.InternalizeAtLink = true;
|
||||
}
|
||||
|
||||
Opts.InternalizeSymbols = FrontendOpts.Static;
|
||||
|
||||
if (Args.hasArg(OPT_disable_preallocated_instantiation_caches)) {
|
||||
Opts.NoPreallocatedInstantiationCaches = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user