Skip to content

Commit 171499f

Browse files
committed
Revert "[IRGen] Temporarily disable round-tripping debug types"
This reverts commit 13e7aff.
1 parent e9a9111 commit 171499f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2776,13 +2776,11 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
27762776
if (Args.hasArg(OPT_no_clang_module_breadcrumbs))
27772777
Opts.DisableClangModuleSkeletonCUs = true;
27782778

2779-
// FIXME(NCG): Temporarily force-disabled, it keeps tripping up on noncopyables (rdar://124564447)
2780-
// if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
2781-
// OPT_disable_round_trip_debug_types)) {
2782-
// Opts.DisableRoundTripDebugTypes =
2783-
// Args.hasArg(OPT_disable_round_trip_debug_types);
2784-
// }
2785-
Opts.DisableRoundTripDebugTypes = true;
2779+
if (auto A = Args.getLastArg(OPT_enable_round_trip_debug_types,
2780+
OPT_disable_round_trip_debug_types)) {
2781+
Opts.DisableRoundTripDebugTypes =
2782+
Args.hasArg(OPT_disable_round_trip_debug_types);
2783+
}
27862784

27872785
if (Args.hasArg(OPT_disable_debugger_shadow_copies))
27882786
Opts.DisableDebuggerShadowCopies = true;

0 commit comments

Comments
 (0)