[lldb] Introduce SymbolFile::ParseAllLanguages
authorAugusto Noronha <augusto2112@me.com>
Thu, 16 Mar 2023 22:51:34 +0000 (15:51 -0700)
committerAugusto Noronha <augusto2112@me.com>
Sat, 18 Mar 2023 17:33:14 +0000 (10:33 -0700)
commitf03cd763384bbb67ddfa12957859ed58841d4b34
treebd50c9c50b9182cf60b230aa9b8b82f20eee800b
parent6a6b65a84cd5540e0f445665b064c8e54a07c8e8
[lldb] Introduce SymbolFile::ParseAllLanguages

SymbolFile::ParseAllLanguages allows collecting the languages of the
extra compile units a SymbolFileDWARFDebugMap may have, which can't
be accessed otherwise. For every other symbol file type, it should
behave exactly the same as ParseLanguage.

rdar://97610458

Differential Revision: https://reviews.llvm.org/D146265
lldb/include/lldb/Symbol/SymbolFile.h
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.h