mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
IRGen: Add a flag to disable mangled name type metadata accessors.
Useful as a workaround for runtime demangler bugs, or in rare cases where there are performance problems with the demangler.
This commit is contained in:
@@ -1261,6 +1261,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_disable_debugger_shadow_copies))
|
||||
Opts.DisableDebuggerShadowCopies = true;
|
||||
|
||||
if (Args.hasArg(OPT_disable_concrete_type_metadata_mangled_name_accessors))
|
||||
Opts.DisableConcreteTypeMetadataMangledNameAccessors = true;
|
||||
|
||||
if (Args.hasArg(OPT_use_jit))
|
||||
Opts.UseJIT = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user