mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a flag to annotate all functions with the optremark (@_assemblyVision) attribute
rdar://159291169
This commit is contained in:
@@ -3075,6 +3075,10 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
Opts.OptRecordFormat = *formatOrErr;
|
||||
}
|
||||
|
||||
Opts.EnableGlobalAssemblyVision = Args.hasFlag(
|
||||
OPT_enable_assembly_vision_all, OPT_disable_assembly_vision_all,
|
||||
Opts.EnableGlobalAssemblyVision);
|
||||
|
||||
if (const Arg *A = Args.getLastArg(OPT_save_optimization_record_passes))
|
||||
Opts.OptRecordPasses = A->getValue();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user