message: Improve the fix for PR33875 by not hardcoding the section name.
  This is a follow-up to r308905.
diff: @@ -61,12 +61,12 @@ SymbolFileDWARFDwo::ParseCompileUnit(DWARFCompileUnit *dwarf_cu,
  }
  DWARFCompileUnit *SymbolFileDWARFDwo::GetCompileUnit() {
  - // Clang modules are found via a skeleton CU, but are not DWO
  - // objects. Clang modules have a .debug_info section instead of the
  - // *_dwo variant. Note that this is hardcoding the ELF section name
  - // based on the assumption that Mach-O does not use DWO objects.
  + // A clang module is found via a skeleton CU, but is not a proper DWO.
  + // Clang modules have a .debug_info section instead of the *_dwo variant.
  if (auto *section_list = m_obj_file->GetSectionList(false))
  - if (section_list->FindSectionByName(ConstString(".debug_info")))
  + if (auto section_sp =
  + section_list->FindSectionByType(eSectionTypeDWARFDebugInfo, true))
  + if (!section_sp->GetName().GetStringRef().endswith("dwo"))
  return nullptr;
  // Only dwo files with 1 compile unit is supported
  