mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Put type descriptors in their own section to collocated them
rdar://104697150
This commit is contained in:
@@ -2534,6 +2534,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Args.hasFlag(OPT_disable_new_llvm_pass_manager,
|
||||
OPT_enable_new_llvm_pass_manager,
|
||||
Opts.LegacyPassManager);
|
||||
Opts.ColocateTypeDescriptors = Args.hasFlag(OPT_enable_colocate_type_descriptors,
|
||||
OPT_disable_colocate_type_descriptors,
|
||||
Opts.ColocateTypeDescriptors);
|
||||
Opts.CollocatedMetadataFunctions =
|
||||
Args.hasFlag(OPT_enable_collocate_metadata_functions,
|
||||
OPT_disable_collocate_metadata_functions,
|
||||
|
||||
Reference in New Issue
Block a user