diff --git a/lldb/include/lldb/Core/ModuleSpec.h b/lldb/include/lldb/Core/ModuleSpec.h --- a/lldb/include/lldb/Core/ModuleSpec.h +++ b/lldb/include/lldb/Core/ModuleSpec.h @@ -341,16 +341,6 @@ } } - // If there was an architecture, retry with a compatible arch - if (module_spec.GetArchitecturePtr()) { - exact_arch_match = false; - for (auto spec : m_specs) { - if (spec.Matches(module_spec, exact_arch_match)) { - match_module_spec = spec; - return true; - } - } - } match_module_spec.Clear(); return false; }