mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[frontend] Added support for -disable-llvm-arc-opts.
Adjusted how this option is handled: it is now set in IRGenOptions. If set, this prevents the relevant passes from being added at all, instead of making them no-ops. Swift SVN r13005
This commit is contained in:
@@ -592,6 +592,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.DisableLLVMOptzns = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_llvm_arc_opts)) {
|
||||
Opts.DisableLLVMARCOpts = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_enable_dynamic_value_type_layout)) {
|
||||
Opts.EnableDynamicValueTypeLayout = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user