mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a hidden option to disable debugger shadow copies.
This option is useful to debug the compiler itself, to simulate debug info as it would be generated when producing optimized code, but without the unpredictable output of an optimizing debugger.
This commit is contained in:
@@ -1078,6 +1078,9 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
|
||||
Opts.DisableClangModuleSkeletonCUs = true;
|
||||
|
||||
if (Args.hasArg(OPT_disable_debugger_shadow_copies))
|
||||
Opts.DisableDebuggerShadowCopies = true;
|
||||
|
||||
if (Args.hasArg(OPT_use_jit))
|
||||
Opts.UseJIT = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user