mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #79242 from kubamracek/embedded-mergeable-symbols
[embedded] Add an experimental -Xfrontend -mergeable-symbols to allow linking multiple .o modules in Embedded Swift
This commit is contained in:
@@ -3553,6 +3553,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
|
||||
Opts.InternalizeSymbols = FrontendOpts.Static;
|
||||
|
||||
if (Args.hasArg(OPT_mergeable_symbols)) {
|
||||
Opts.MergeableSymbols = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_preallocated_instantiation_caches)) {
|
||||
Opts.NoPreallocatedInstantiationCaches = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user