llvm-project/lldb/unittests/Symbol
Kim-Anh Tran 3973d8b29e [lldb] Return all line entries matchign a line if no column is specified
Previously, if no column was specified, ResolveSymbolContext would take
the first match returned by FindLineEntryIndexByFileIndex, and reuse it
to find subsequent exact matches. With the introduction of columns, columns
are now considered when matching the line entries.

This leads to a problem if one wants to get all existing line entries
that match that line, since now the column is also used for the exact match.
This way, all line entries are filtered out that have a different
column number, but the same line number.

This patch changes that by ignoring the column information of the first match
if the original request of ResolveSymbolContext was also ignoring it.

Reviewed By: mib

Differential Revision: https://reviews.llvm.org/D108816
2021-08-30 14:45:46 +02:00
..
Inputs [DWARFYAML] Make the include_directories, file_names and opcodes fields of the line table optional. 2020-09-18 20:21:11 +08:00
CMakeLists.txt [lldb] Add tests for TypeSystemMap::GetTypeSystemForLanguage 2021-08-16 18:00:01 +02:00
LocateSymbolFileTest.cpp [lldb] Make Reproducer compatbile with SubsystemRAII (NFC) 2020-08-25 13:00:04 -07:00
PostfixExpressionTest.cpp fix lldb for recent libDebugInfoDWARF API change 2020-10-23 19:20:38 -07:00
TestClangASTImporter.cpp [lldb] Fix typos. NFC. 2021-05-31 06:48:57 +07:00
TestDWARFCallFrameInfo.cpp [lldb/Module] Allow for the creation of memory-only modules 2020-07-14 08:45:44 -07:00
TestLineEntry.cpp [lldb] Return all line entries matchign a line if no column is specified 2021-08-30 14:45:46 +02:00
TestType.cpp [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
TestTypeSystem.cpp [lldb] Add tests for TypeSystemMap::GetTypeSystemForLanguage 2021-08-16 18:00:01 +02:00
TestTypeSystemClang.cpp [lldb] Make the ClassTemplateDecl merging logic in TypeSystemClang respect template parameters 2021-06-15 19:25:07 +02:00