mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[IRGen] Expose an -Xfrontend flag to disable the LLVM MergeFunctions pass
This commit is contained in:
@@ -3406,6 +3406,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.EnableReflectionNames = false;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_llvm_merge_functions_pass)) {
|
||||
Opts.DisableLLVMMergeFunctions = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_force_public_linkage)) {
|
||||
Opts.ForcePublicLinkage = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user