mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add a flag to disable compile-time preallocated instantiation caches (for type metadata and protocol conformances) (#41148)
This commit is contained in:
committed by
GitHub
parent
f05f23147f
commit
17c5d6f0de
@@ -2182,6 +2182,10 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.InternalizeAtLink = true;
|
||||
}
|
||||
|
||||
if (Args.hasArg(OPT_disable_preallocated_instantiation_caches)) {
|
||||
Opts.NoPreallocatedInstantiationCaches = true;
|
||||
}
|
||||
|
||||
// Default to disabling swift async extended frame info on anything but
|
||||
// darwin. Other platforms are unlikely to have support for extended frame
|
||||
// pointer information.
|
||||
|
||||
Reference in New Issue
Block a user