File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
lldb/source/Plugins/TypeSystem/Swift Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -9284,16 +9284,17 @@ bool SwiftASTContext::GetCompileUnitImportsImpl(
9284
9284
validate_pcm = true ;
9285
9285
#endif
9286
9286
}
9287
-
9288
- auto &pp_opts = m_clangimporter->getClangPreprocessor ()
9289
- .getPreprocessorOpts ();
9290
- pp_opts.DisablePCHOrModuleValidation =
9291
- validate_pcm ? clang::DisableValidationForModuleKind::None
9292
- : clang::DisableValidationForModuleKind::All;
9293
- pp_opts.ModulesCheckRelocated = validate_pcm;
9294
-
9295
- LOG_PRINTF (GetLog (LLDBLog::Types), " PCM validation is %s" ,
9296
- validate_pcm ? " disabled" : " enabled" );
9287
+
9288
+ const auto &pp_opts =
9289
+ m_clangimporter->getClangPreprocessor ().getPreprocessorOpts ();
9290
+ // rdar://155232969
9291
+ // pp_opts.DisablePCHOrModuleValidation =
9292
+ // validate_pcm ? clang::DisableValidationForModuleKind::None
9293
+ // : clang::DisableValidationForModuleKind::All;
9294
+ // pp_opts.ModulesCheckRelocated = validate_pcm;
9295
+
9296
+ if (!validate_pcm)
9297
+ LOG_PRINTF (GetLog (LLDBLog::Types), " PCM validation cannot be disabled" );
9297
9298
}
9298
9299
9299
9300
LOG_PRINTF (GetLog (LLDBLog::Types), " Importing dependencies of current CU" );
You can’t perform that action at this time.
0 commit comments