[ObjectFileMachO] Fix a build error on embedded. Commit: https://github.com/llvm/llvm-project/commit/34ee941f6d04454838456f0dc692f4abab5cdd19 Ticket: https://trac.macports.org/ticket/65355 --- a/tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 2022-06-17 12:23:51.696814020 -0400 +++ b/tools/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 2022-06-17 12:27:25.311601895 -0400 @@ -3503,8 +3503,8 @@ N_FUN_addr_to_sym_idx.equal_range(nlist.n_value); if (range.first != range.second) { bool found_it = false; - for (const auto pos = range.first; - pos != range.second; ++pos) { + for (auto pos = range.first; pos != range.second; + ++pos) { if (sym[sym_idx].GetMangled().GetName( lldb::eLanguageTypeUnknown, Mangled::ePreferMangled) == @@ -3548,8 +3548,8 @@ nlist.n_value); if (range.first != range.second) { bool found_it = false; - for (const auto pos = range.first; - pos != range.second; ++pos) { + for (auto pos = range.first; pos != range.second; + ++pos) { if (sym[sym_idx].GetMangled().GetName( lldb::eLanguageTypeUnknown, Mangled::ePreferMangled) ==