We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b97177 commit fbc7f32Copy full SHA for fbc7f32
lldb/source/Target/Target.cpp
@@ -2929,7 +2929,9 @@ std::optional<SwiftScratchContextReader> Target::GetSwiftScratchContext(
2929
}
2930
2931
// Opt into the per-module scratch context if we find incompatible triples.
2932
- if (!m_use_scratch_typesystem_per_module) {
+ if (!m_use_scratch_typesystem_per_module &&
2933
+ !ModuleList::GetGlobalModuleListProperties()
2934
+ .GetUseSwiftPreciseCompilerInvocation()) {
2935
TargetSP target_sp = exe_scope.CalculateTarget();
2936
if (lldb_module) {
2937
auto module_arch = lldb_module->GetArchitecture();
0 commit comments