[lldb] Remove lldbassert from DebugNamesDWARFIndex::GetGlobalVariables
authorJonas Devlieghere <jonas@devlieghere.com>
Thu, 15 Jun 2023 00:12:42 +0000 (17:12 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Thu, 15 Jun 2023 00:15:20 +0000 (17:15 -0700)
commit048204d6102ab984c067c1a1c9889edb7f58d419
treed4a5a2747f16ca82ddda87869baa8a902710ff26
parente63e536044178cdd23ed8a82f35c42d394bb1dfa
[lldb] Remove lldbassert from DebugNamesDWARFIndex::GetGlobalVariables

34a8e6eee666 changed SymbolFileDWARF::GetDwoNum to
SymbolFileDWARF::GetFileIndex but changed the meaning from just DWO to
DWO and OSO which changed the meaning of the assert. The assert was
therefore removed from ManualDWARFIndex::GetGlobalVariables and
ManualDWARFIndex::GetGlobalVariables but was still present in
DebugNamesDWARFIndex::GetGlobalVariables. If we want to reintroduce the
assert, we need something with the old semantics for all 3.
lldb/source/Plugins/SymbolFile/DWARF/DebugNamesDWARFIndex.cpp