llvm-project/lldb/unittests/SymbolFile
Greg Clayton 79f22b1f99 Fix .debug_aranges parsing.
Code was added that used llvm error checking to parse .debug_aranges, but the error check after parsing the DWARFDebugArangesSet was reversed and was causing no error to be returned with no valid address ranges being actually used. This meant we always would fall back onto creating out own address ranges by parsing the compile unit's ranges. This was causing problems for cases where the DW_TAG_compile_unit had a single address range by using a DW_AT_low_pc and DW_AT_high_pc attribute pair (not using a DW_AT_ranges attribute), but the .debug_aranges had correct split ranges. In this case we would end up using the single range for the compile unit that encompassed all of the ranges from the .debug_aranges section and would cause address resolving issues in LLDB where address lookups would fail for certain addresses.

Differential Revision: https://reviews.llvm.org/D87626
2020-09-15 11:50:57 -07:00
..
DWARF Fix .debug_aranges parsing. 2020-09-15 11:50:57 -07:00
NativePDB [lldb] Remove custom DWARF expression printing code 2020-05-25 16:09:25 +02:00
PDB Fix Windows build 2020-07-22 11:01:25 -07:00
CMakeLists.txt [PDB] Fix location retrieval for function local variables and arguments that are 2019-02-01 10:01:18 +00:00