llvm-project/lldb/source
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
..
API [MinGW] Use lib prefix for libraries 2020-09-12 22:01:29 +03:00
Breakpoint [lldb][NFC] Use llvm::is_contained instead of std::find in a few places 2020-08-13 14:11:28 +02:00
Commands [lldb] Add -l/--language option to script command 2020-09-15 09:40:17 -07:00
Core [lldb/Gui] zero-initialize children_stop_id 2020-09-02 20:05:17 -07:00
DataFormatters [lldb][NFC] Remove FormatMap 2020-07-23 18:34:59 +02:00
Expression Unify the return value of GetByteSize to an llvm::Optional<uint64_t> (NFC-ish) 2020-07-27 13:26:35 -07:00
Host [lldb] [netbsd] Avoid comparison of signed and unsigned integers 2020-09-10 15:49:15 +02:00
Initialization [lldb] Always record both the working and home directory. 2020-09-02 20:53:11 -07:00
Interpreter [lldb/Interpreter] Fix language detection for the REPL InitFile 2020-09-03 10:57:56 +02:00
Plugins Fix .debug_aranges parsing. 2020-09-15 11:50:57 -07:00
Symbol [lldb] Fix Type::GetByteSize for pointer types 2020-08-27 15:37:49 +02:00
Target [lldb/Target] Add custom interpreter option to `platform shell` 2020-09-02 16:36:10 +02:00
Utility [lldb] Add reproducer verifier 2020-09-02 22:00:00 -07:00
CMakeLists.txt Make LLVM_APPEND_VC_REV=OFF affect clang, lld, and lldb as well. 2020-01-16 19:04:08 -05:00
lldb.cpp [lldb] Fix version string when using LLDB_REVISION but not LLDB_REPOSITORY 2020-02-20 10:07:50 -08:00